#E2D858#E2D858
#E2D858 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.148 H 104.8°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D858 |
|---|---|
| RGB | rgb(226, 216, 88) |
| HSL | hsl(56, 70%, 62%) |
| HSV | hsv(56, 61%, 89%) |
| CMYK | cmyk(0%, 4.4%, 61.1%, 11.4%) |
| CIE-LAB | lab(84.99, -11.98, 62.50) |
| CIE-LCH | lch(84.99, 63.63, 100.85°) |
| OKLab | oklab(86.65% -0.0378 0.1428) |
| OKLCH | oklch(86.65% 0.148 104.8) |
| XYZ | xyz(57.6834, 65.9871, 18.9289) |
| Luminance | 0.6599 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.38
Piss Yellow
#DDD618
ΔE00 4.45
Yellowish
#FAEE66
ΔE00 4.99
Sand Yellow
#FCE166
ΔE00 5.17
Sandy Yellow
#FDEE73
ΔE00 5.26
Sandy
#F1DA7A
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D858 #5862E2
analogous
#E29358 #E2D858 #A7E258
triadic
#E2D858 #58E2D8 #D858E2
tetradic
#E2D858 #58E293 #5862E2 #E258A7
square
#E2D858 #58E293 #5862E2 #E258A7
split-complementary
#E2D858 #58A7E2 #9358E2
monochromatic
#A3991C #D7CA25 #E2D858 #EBE48C #F4F0C0
Accessibility & contrast
On white
1.48
#E2D858 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.20
#E2D858 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D858
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D858 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D858 | 1.00 | 1.48 | 14.20 | 14.20 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D149
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#F2CBBD
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e2d858; /* rgb */ color: rgb(226, 216, 88); /* oklch */ color: oklch(86.6% 0.148 104.8);
Tailwind
colors: {
custom: {
50: '#eee38c',
500: '#e2d858',
950: '#000000',
},
}SCSS
$custom: #e2d858; $custom-light: #eee38c; $custom-dark: #000000;
JSON
{
"hex": "#e2d858",
"rgb": {
"r": 226,
"g": 216,
"b": 88
},
"hsl": {
"h": 55.652,
"s": 70.408,
"l": 61.569
},
"oklch": {
"l": 0.86648,
"c": 0.1477,
"h": 104.8
},
"luminance": 0.65985
}Semantic roles & 50–950 ramp
primary
#E2D858
secondary
#3840A6
accent
#21D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F