#E2D458#E2D458
#E2D458 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.8% C 0.144 H 102.9°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D458 |
|---|---|
| RGB | rgb(226, 212, 88) |
| HSL | hsl(54, 70%, 62%) |
| HSV | hsv(54, 61%, 89%) |
| CMYK | cmyk(0%, 6.2%, 61.1%, 11.4%) |
| CIE-LAB | lab(83.95, -9.97, 61.37) |
| CIE-LCH | lch(83.95, 62.17, 99.23°) |
| OKLab | oklab(85.82% -0.0321 0.1404) |
| OKLCH | oklch(85.82% 0.144 102.9) |
| XYZ | xyz(56.6711, 63.9625, 18.5915) |
| Luminance | 0.6396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.29
Sand Yellow
#FCE166
ΔE00 4.83
Sandy
#F1DA7A
ΔE00 4.84
Piss Yellow
#DDD618
ΔE00 4.90
Yellow Tan
#FFE36E
ΔE00 5.47
Light Mustard
#F7D560
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D458 #5866E2
analogous
#E28F58 #E2D458 #ABE258
triadic
#E2D458 #58E2D4 #D458E2
tetradic
#E2D458 #58E28F #5866E2 #E258AB
square
#E2D458 #58E28F #5866E2 #E258AB
split-complementary
#E2D458 #58ABE2 #8F58E2
monochromatic
#A3961C #D7C525 #E2D458 #EBE18C #F4EFC0
Accessibility & contrast
On white
1.52
#E2D458 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.79
#E2D458 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D458
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D458 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D458 | 1.00 | 1.52 | 13.79 | 13.79 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE4A
Deuteranopia (green-blind)
#EAD45F
Tritanopia (blue-blind)
#F2C6BA
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e2d458; /* rgb */ color: rgb(226, 212, 88); /* oklch */ color: oklch(85.8% 0.144 102.9);
Tailwind
colors: {
custom: {
50: '#eee08c',
500: '#e2d458',
950: '#000000',
},
}SCSS
$custom: #e2d458; $custom-light: #eee08c; $custom-dark: #000000;
JSON
{
"hex": "#e2d458",
"rgb": {
"r": 226,
"g": 212,
"b": 88
},
"hsl": {
"h": 53.913,
"s": 70.408,
"l": 61.569
},
"oklch": {
"l": 0.85818,
"c": 0.144,
"h": 102.9
},
"luminance": 0.6396
}Semantic roles & 50–950 ramp
primary
#E2D458
secondary
#3843A6
accent
#26D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F