#E2D857#E2D857
#E2D857 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.148 H 104.9°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D857 |
|---|---|
| RGB | rgb(226, 216, 87) |
| HSL | hsl(56, 71%, 61%) |
| HSV | hsv(56, 62%, 89%) |
| CMYK | cmyk(0%, 4.4%, 61.5%, 11.4%) |
| CIE-LAB | lab(84.98, -12.04, 62.91) |
| CIE-LCH | lch(84.98, 64.05, 100.83°) |
| OKLab | oklab(86.64% -0.0381 0.1435) |
| OKLCH | oklch(86.64% 0.148 104.9) |
| XYZ | xyz(57.6422, 65.9706, 18.7122) |
| Luminance | 0.6597 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.37
Piss Yellow
#DDD618
ΔE00 4.34
Yellowish
#FAEE66
ΔE00 4.98
Sand Yellow
#FCE166
ΔE00 5.18
Sandy Yellow
#FDEE73
ΔE00 5.28
Sandy
#F1DA7A
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D857 #5761E2
analogous
#E29357 #E2D857 #A7E257
triadic
#E2D857 #57E2D8 #D857E2
tetradic
#E2D857 #57E293 #5761E2 #E257A7
square
#E2D857 #57E293 #5761E2 #E257A7
split-complementary
#E2D857 #57A7E2 #9357E2
monochromatic
#A3991C #D7CA25 #E2D857 #EBE48B #F4F0BF
Accessibility & contrast
On white
1.48
#E2D857 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.19
#E2D857 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D857
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D857 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D857 | 1.00 | 1.48 | 14.19 | 14.19 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD148
Deuteranopia (green-blind)
#EDD75E
Tritanopia (blue-blind)
#F2CABD
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e2d857; /* rgb */ color: rgb(226, 216, 87); /* oklch */ color: oklch(86.6% 0.148 104.9);
Tailwind
colors: {
custom: {
50: '#eee38c',
500: '#e2d857',
950: '#000000',
},
}SCSS
$custom: #e2d857; $custom-light: #eee38c; $custom-dark: #000000;
JSON
{
"hex": "#e2d857",
"rgb": {
"r": 226,
"g": 216,
"b": 87
},
"hsl": {
"h": 55.683,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.86638,
"c": 0.14849,
"h": 104.9
},
"luminance": 0.65969
}Semantic roles & 50–950 ramp
primary
#E2D857
secondary
#3840A5
accent
#21D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F