#E2E04F#E2E04F
#E2E04F is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.2% C 0.162 H 108.5°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E04F |
|---|---|
| RGB | rgb(226, 224, 79) |
| HSL | hsl(59, 72%, 60%) |
| HSV | hsv(59, 65%, 89%) |
| CMYK | cmyk(0%, 0.9%, 65%, 11.4%) |
| CIE-LAB | lab(87.02, -16.49, 68.29) |
| CIE-LCH | lch(87.02, 70.25, 103.57°) |
| OKLab | oklab(88.24% -0.0515 0.1537) |
| OKLCH | oklch(88.24% 0.162 108.5) |
| XYZ | xyz(59.4330, 70.0464, 17.7852) |
| Luminance | 0.7005 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 3.95
Dull Yellow
#EEDC5B
ΔE00 4.10
Yellowish
#FAEE66
ΔE00 4.24
Off Yellow
#F1F33F
ΔE00 4.74
Sickly Yellow
#D0E429
ΔE00 4.88
Sandy Yellow
#FDEE73
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E04F #4F51E2
analogous
#E2974F #E2E04F #9AE24F
triadic
#E2E04F #4FE2E0 #E04FE2
tetradic
#E2E04F #4FE297 #4F51E2 #E24F9A
square
#E2E04F #4FE297 #4F51E2 #E24F9A
split-complementary
#E2E04F #4F9AE2 #974FE2
monochromatic
#9D9B1A #D1CF22 #E2E04F #EBE984 #F3F3B8
Accessibility & contrast
On white
1.40
#E2E04F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.01
#E2E04F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E04F
15.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E04F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E04F | 1.00 | 1.40 | 15.01 | 15.01 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D73B
Deuteranopia (green-blind)
#F4DC59
Tritanopia (blue-blind)
#F1D2C3
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2e04f; /* rgb */ color: rgb(226, 224, 79); /* oklch */ color: oklch(88.2% 0.162 108.5);
Tailwind
colors: {
custom: {
50: '#eee988',
500: '#e2e04f',
950: '#000000',
},
}SCSS
$custom: #e2e04f; $custom-light: #eee988; $custom-dark: #000000;
JSON
{
"hex": "#e2e04f",
"rgb": {
"r": 226,
"g": 224,
"b": 79
},
"hsl": {
"h": 59.184,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.88242,
"c": 0.16212,
"h": 108.5
},
"luminance": 0.70045
}Semantic roles & 50–950 ramp
primary
#E2E04F
secondary
#3537A0
accent
#3CEE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F