#E2E04C#E2E04C
#E2E04C is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.2% C 0.164 H 108.6°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E04C |
|---|---|
| RGB | rgb(226, 224, 76) |
| HSL | hsl(59, 72%, 59%) |
| HSV | hsv(59, 66%, 89%) |
| CMYK | cmyk(0%, 0.9%, 66.4%, 11.4%) |
| CIE-LAB | lab(87.00, -16.65, 69.42) |
| CIE-LCH | lch(87.00, 71.39, 103.49°) |
| OKLab | oklab(88.22% -0.0523 0.1556) |
| OKLCH | oklch(88.22% 0.164 108.6) |
| XYZ | xyz(59.3262, 70.0037, 17.2230) |
| Luminance | 0.7000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 3.74
Dull Yellow
#EEDC5B
ΔE00 4.17
Yellowish
#FAEE66
ΔE00 4.29
Off Yellow
#F1F33F
ΔE00 4.61
Sickly Yellow
#D0E429
ΔE00 4.77
Sandy Yellow
#FDEE73
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E04C #4C4EE2
analogous
#E2954C #E2E04C #99E24C
triadic
#E2E04C #4CE2E0 #E04CE2
tetradic
#E2E04C #4CE295 #4C4EE2 #E24C99
square
#E2E04C #4CE295 #4C4EE2 #E24C99
split-complementary
#E2E04C #4C99E2 #954CE2
monochromatic
#9B9919 #CFCD22 #E2E04C #EBE981 #F3F2B5
Accessibility & contrast
On white
1.40
#E2E04C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.00
#E2E04C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E04C
15.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E04C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E04C | 1.00 | 1.40 | 15.00 | 15.00 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D736
Deuteranopia (green-blind)
#F4DC56
Tritanopia (blue-blind)
#F2D2C2
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2e04c; /* rgb */ color: rgb(226, 224, 76); /* oklch */ color: oklch(88.2% 0.164 108.6);
Tailwind
colors: {
custom: {
50: '#efe986',
500: '#e2e04c',
950: '#000000',
},
}SCSS
$custom: #e2e04c; $custom-light: #efe986; $custom-dark: #000000;
JSON
{
"hex": "#e2e04c",
"rgb": {
"r": 226,
"g": 224,
"b": 76
},
"hsl": {
"h": 59.2,
"s": 72.115,
"l": 59.216
},
"oklch": {
"l": 0.88219,
"c": 0.16418,
"h": 108.6
},
"luminance": 0.70002
}Semantic roles & 50–950 ramp
primary
#E2E04C
secondary
#34359E
accent
#3BEF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F