Yellow
#ffff00
A yellow that is saturated. It is very light — it works as a page background, not as text.
Hex
#ffff00
RGB
255, 255, 0
OKLCh
96.8% 0.211 109.8°
CIELAB (D50)
97.6, -15.8, 93.4
What is true of this colour, and of no other
- 22 other named colours sit within ΔE00 2 of it — this part of the space is crowded, and the names here are finer distinctions than most people make.
- It sits exactly on the sRGB boundary: at this lightness and hue the gamut has nothing left, and a wider display would show a more colourful version of it.
- As text on white it measures APCA Lc 0.0; on black, Lc -102.7. The sign is the polarity, which the WCAG ratio discards.
- Built into an eleven-step scale, 10 of the 10 adjacent pairs stay ΔE00 2 apart — see the ramp.
- All three dichromacies see it as very nearly the same colour you do: its hue is not the part carrying its identity.
Text on this colour
White text
1.07:1 — fails AA
Black text
19.56:1 — passes AA
Black text is the better of the two at19.56:1. That is enough for body text.
As text on white, it needs to change
#7b7b00 is the nearest colour of the same hue that passes AA on white, at 4.50:1. Only the lightness moved, and some saturation was given up to stay inside sRGB.
The same colour, with one cone missing
As you see it
#ffff00
protanopia
#ffff00 · ΔE00 0.0
deuteranopia
#ffff00 · ΔE00 0.0
tritanopia
#ffff00 · ΔE00 0.0
The twelve nearest named colours
Ranked by CIEDE2000 — perceptual distance, not hex arithmetic. The closest isDusky Yellow at ΔE00 0.064: below 1.0 — an ordinary observer cannot tell these apart, even side by side. What the numbers mean.
- Dusky YellowΔE00 0.064 · #ffff05
- Bat-SignalΔE00 0.211 · #feff00
- Duckie YellowΔE00 0.234 · #ffff11
- Yell for YellowΔE00 0.26 · #fffe00
- Yellow SubmarineΔE00 0.291 · #ffff14
- Sunblast YellowΔE00 0.324 · #feff0f
- Lemon GlacierΔE00 0.421 · #fdff00
- Pressed Laser LemonΔE00 0.738 · #fefe22
- Electric YellowΔE00 0.785 · #fffc00
- Electric BananaΔE00 0.839 · #fbff00
- Hexos PalesunΔE00 0.882 · #fbff0a
- Lisbon LemonΔE00 1.049 · #fffb00
7 of these have no page of their own: pages exist for the 4,961 colours the dataset marks as good names.