#E2E857#E2E857
#E2E857 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.0% C 0.165 H 111.5°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E857 |
|---|---|
| RGB | rgb(226, 232, 87) |
| HSL | hsl(62, 76%, 63%) |
| HSV | hsv(62, 63%, 91%) |
| CMYK | cmyk(2.6%, 0%, 62.5%, 9%) |
| CIE-LAB | lab(89.19, -19.92, 67.40) |
| CIE-LCH | lch(89.19, 70.28, 106.46°) |
| OKLab | oklab(90% -0.0604 0.153) |
| OKLCH | oklch(90% 0.165 111.5) |
| XYZ | xyz(61.9427, 74.5715, 20.1457) |
| Luminance | 0.7457 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.92
Off Yellow
#F1F33F
ΔE00 4.00
Yellowish
#FAEE66
ΔE00 4.62
Straw
#FCF679
ΔE00 4.79
Butter Yellow
#FFFD74
ΔE00 5.10
Canary
#FDFF63
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E857 #5D57E8
analogous
#E8A657 #E2E857 #99E857
triadic
#E2E857 #57E2E8 #E857E2
tetradic
#E2E857 #57E8A6 #5D57E8 #E85799
square
#E2E857 #57E8A6 #5D57E8 #E85799
split-complementary
#E2E857 #5799E8 #A657E8
monochromatic
#A7AD18 #D9E121 #E2E857 #EBEF8D #F5F7C3
Accessibility & contrast
On white
1.32
#E2E857 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.91
#E2E857 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E857
15.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E857 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E857 | 1.00 | 1.32 | 15.91 | 15.91 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9DE44
Deuteranopia (green-blind)
#FAE260
Tritanopia (blue-blind)
#F1DBCA
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e2e857; /* rgb */ color: rgb(226, 232, 87); /* oklch */ color: oklch(90.0% 0.165 111.5);
Tailwind
colors: {
custom: {
50: '#eeef8d',
500: '#e2e857',
950: '#000000',
},
}SCSS
$custom: #e2e857; $custom-light: #eeef8d; $custom-dark: #000000;
JSON
{
"hex": "#e2e857",
"rgb": {
"r": 226,
"g": 232,
"b": 87
},
"hsl": {
"h": 62.483,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.89996,
"c": 0.1645,
"h": 111.5
},
"luminance": 0.7457
}Semantic roles & 50–950 ramp
primary
#E2E857
secondary
#3A35AE
accent
#0DD816
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F