How to use Yellow Color Code
- Look at the Yellow swatch and copy the HEX, RGB or HSL value you need.
- Use the shades and tints below for darker and lighter versions.
- Check the contrast values before using it for text.
Yellow colour values
Yellow is #FFFF00 in HEX. Its RGB values are 255, 255 and 0.
In HSL it is 60 degrees hue, 100% saturation and 50% lightness. In CMYK it is 0%, 0%, 100%, 0%.
| Format | Value |
|---|---|
| HEX | #FFFF00 |
| RGB | rgb(255, 255, 0) |
| HSL | hsl(60, 100%, 50%) |
| CMYK | cmyk(0%, 0%, 100%, 0%) |
Yellow shades and tints
Darker shades of Yellow run from #D4D400 to #2A2A00. Lighter tints run from #FFFF2A to #FFFFD4.
Use a darker shade for headings and a lighter tint for backgrounds.
| Shade | HEX |
|---|---|
| Shade 1 | #D4D400 |
| Shade 2 | #AAAA00 |
| Shade 3 | #808000 |
| Shade 4 | #555500 |
| Shade 5 | #2A2A00 |
FAQ
What is the HEX code for Yellow?
The HEX code for Yellow is #FFFF00.
What is Yellow in RGB?
Yellow is rgb(255, 255, 0).
Can I use this colour in CSS?
Yes. Copy the HEX or RGB value and paste it into any CSS colour property.
Is this colour free to use?
Yes. Colour values are facts, not owned designs, so you can use them anywhere.