#E2E057#E2E057
#E2E057 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.3% C 0.156 H 108.4°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E057 |
|---|---|
| RGB | rgb(226, 224, 87) |
| HSL | hsl(59, 71%, 61%) |
| HSV | hsv(59, 62%, 89%) |
| CMYK | cmyk(0%, 0.9%, 61.5%, 11.4%) |
| CIE-LAB | lab(87.08, -16.01, 65.16) |
| CIE-LCH | lch(87.08, 67.10, 103.80°) |
| OKLab | oklab(88.31% -0.0494 0.1483) |
| OKLCH | oklch(88.31% 0.156 108.4) |
| XYZ | xyz(59.7419, 70.1699, 19.4121) |
| Luminance | 0.7017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.99
Yellowish
#FAEE66
ΔE00 4.18
Piss Yellow
#DDD618
ΔE00 4.59
Sandy Yellow
#FDEE73
ΔE00 4.97
Off Yellow
#F1F33F
ΔE00 5.19
Straw
#FCF679
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E057 #5759E2
analogous
#E29B57 #E2E057 #9FE257
triadic
#E2E057 #57E2E0 #E057E2
tetradic
#E2E057 #57E29B #5759E2 #E2579F
square
#E2E057 #57E29B #5759E2 #E2579F
split-complementary
#E2E057 #579FE2 #9B57E2
monochromatic
#A3A11C #D7D425 #E2E057 #EBEA8B #F4F3BF
Accessibility & contrast
On white
1.40
#E2E057 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.03
#E2E057 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E057
15.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E057 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E057 | 1.00 | 1.40 | 15.03 | 15.03 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D746
Deuteranopia (green-blind)
#F3DC5F
Tritanopia (blue-blind)
#F1D3C3
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2e057; /* rgb */ color: rgb(226, 224, 87); /* oklch */ color: oklch(88.3% 0.156 108.4);
Tailwind
colors: {
custom: {
50: '#eee98c',
500: '#e2e057',
950: '#000000',
},
}SCSS
$custom: #e2e057; $custom-light: #eee98c; $custom-dark: #000000;
JSON
{
"hex": "#e2e057",
"rgb": {
"r": 226,
"g": 224,
"b": 87
},
"hsl": {
"h": 59.137,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.8831,
"c": 0.15627,
"h": 108.4
},
"luminance": 0.70168
}Semantic roles & 50–950 ramp
primary
#E2E057
secondary
#383AA5
accent
#16D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F