Where the name yellow comes from
yellow is a named color in CSS Color 4, section 6.1.
One of the sixteen HTML 4.01 names (section 6.5), value #FFFF00; CSS Color 4 says these came from the VGA palette.
Short form: #FF0.
Shades and tints of Yellow
Contrast of #FFFF00
Against white 1.07:1 (fails), against black 19.56:1 (passes AAA); black text reads better on Yellow. In HSV it is hsv(60, 100%, 100%).
Lightness rank 19 of 139; best partner black, 19.56:1.
Closest names to Yellow
Yellow has OKLCH hue 110 degrees.
| Name | Hex | OKLab distance | Than Yellow |
|---|---|---|---|
greenyellow | #ADFF2F | 0.098 | darker |
gold | #FFD700 | 0.099 | darker |
khaki | #F0E68C | 0.115 | darker |
palegreen | #98FB98 | 0.136 | darker |
palegoldenrod | #EEE8AA | 0.140 | darker |
chartreuse | #7FFF00 | 0.143 | darker |
lawngreen | #7CFC00 | 0.147 | darker |
Color harmony for Yellow
- Complementary:
#0000FFblue - Analogous:
#FF8000darkorange,#80FF00chartreuse - Triadic:
#00FFFFcyan,#FF00FFmagenta - Split complementary:
#0080FFdodgerblue,#8000FF
Yellow with color vision deficiency
- Protanopia:
#FFF400, likegreenyellow(#ADFF2F),chartreuse(#7FFF00) - Deuteranopia:
#FFFA31 - Tritanopia:
#FFEED9, likepapayawhip(#FFEFD5),beige(#F5F5DC),lemonchiffon(#FFFACD)
FAQ
What is the hex code for Yellow?
#FFFF00, or the keyword yellow.
Which named color is closest to Yellow?
greenyellow (#ADFF2F), then gold and khaki.