Yellow color — #FFFF00
Yellow is a CSS named color with the HEX code #FFFF00, RGB value rgb(255, 255, 0) and HSL value hsl(60, 100%, 50%).
Yellow
Yellow
#FFFF00
Color codes
- HEX
- #FFFF00
- RGB
- rgb(255, 255, 0)
- HSL
- hsl(60, 100%, 50%)
- HSV
- hsv(60, 100%, 100%)
- CMYK
- cmyk(0%, 0%, 100%, 0%)
- OKLCH
- oklch(96.8% 0.211 109.77)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: yellow;
background-color: #ffff00;
border-color: rgb(255, 255, 0);
outline-color: hsl(60, 100%, 50%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Yellow — On white1.07:1 · Fail
Yellow — On black19.55:1 · AAA