Yellow Color Code #FFFF00
Yellow has the HEX code #FFFF00 and the RGB value rgb(255, 255, 0).
Yellow#FFFF00
Yellow color codes
| HEX | #FFFF00 |
| RGB | rgb(255, 255, 0) |
| HSL | hsl(60, 100%, 50%) |
| CMYK | cmyk(0%, 0%, 100%, 0%) |
| RGB percent | 100%, 100%, 0% |
| Decimal | 16776960 |
Tints of Yellow
#FFFF1A#FFFF33#FFFF4D#FFFF66#FFFF80#FFFF99#FFFFB3#FFFFCC#FFFFE6
Shades of Yellow
#E6E600#CCCC00#B3B300#999900#808000#666600#4D4D00#333300#191900
Color combinations
Complementary
#FFFF00#0000FF
Analogous
#FFFF00#FF8000#80FF00
Triadic
#FFFF00#00FFFF#FF00FF
Use Yellow in CSS
.text { color: #FFFF00; }
.box { background-color: rgb(255, 255, 0); }
.border { border: 2px solid hsl(60, 100%, 50%); }
Text in Yellow
Background in Yellow
Similar colors
- Gold
- Saffron
- Lemon Yellow
- Mustard Yellow
- Orange
- Green Yellow
- Goldenrod
- Dark Orange
- Yellow Green
- Chartreuse
- Lawn Green
- Sandy Brown
Frequently asked questions
What is the HEX code for Yellow?
The HEX code for Yellow is #FFFF00.
What is the RGB value of Yellow?
Yellow in RGB is rgb(255, 255, 0): red 255, green 255 and blue 0 out of 255.
How do I use Yellow in CSS?
Use color: #FFFF00; for text or background-color: #FFFF00; for backgrounds. You can also write the CSS name yellow.