#E2E052#E2E052
#E2E052 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.3% C 0.160 H 108.5°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E052 |
|---|---|
| RGB | rgb(226, 224, 82) |
| HSL | hsl(59, 71%, 60%) |
| HSV | hsv(59, 64%, 89%) |
| CMYK | cmyk(0%, 0.9%, 63.7%, 11.4%) |
| CIE-LAB | lab(87.04, -16.31, 67.14) |
| CIE-LCH | lch(87.04, 69.09, 103.66°) |
| OKLab | oklab(88.27% -0.0508 0.1517) |
| OKLCH | oklch(88.27% 0.16 108.5) |
| XYZ | xyz(59.5447, 70.0910, 18.3733) |
| Luminance | 0.7009 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.04
Piss Yellow
#DDD618
ΔE00 4.18
Yellowish
#FAEE66
ΔE00 4.20
Off Yellow
#F1F33F
ΔE00 4.90
Sickly Yellow
#D0E429
ΔE00 5.00
Sandy Yellow
#FDEE73
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E052 #5254E2
analogous
#E29852 #E2E052 #9CE252
triadic
#E2E052 #52E2E0 #E052E2
tetradic
#E2E052 #52E298 #5254E2 #E2529C
square
#E2E052 #52E298 #5254E2 #E2529C
split-complementary
#E2E052 #529CE2 #9852E2
monochromatic
#9F9D1B #D3D123 #E2E052 #EBE986 #F4F3BB
Accessibility & contrast
On white
1.40
#E2E052 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.02
#E2E052 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E052
15.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E052 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E052 | 1.00 | 1.40 | 15.02 | 15.02 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D73F
Deuteranopia (green-blind)
#F4DC5B
Tritanopia (blue-blind)
#F1D2C3
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2e052; /* rgb */ color: rgb(226, 224, 82); /* oklch */ color: oklch(88.3% 0.160 108.5);
Tailwind
colors: {
custom: {
50: '#eee989',
500: '#e2e052',
950: '#000000',
},
}SCSS
$custom: #e2e052; $custom-light: #eee989; $custom-dark: #000000;
JSON
{
"hex": "#e2e052",
"rgb": {
"r": 226,
"g": 224,
"b": 82
},
"hsl": {
"h": 59.167,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.88267,
"c": 0.15999,
"h": 108.5
},
"luminance": 0.70089
}Semantic roles & 50–950 ramp
primary
#E2E052
secondary
#3638A2
accent
#15D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F