#E2D959#E2D959
#E2D959 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.148 H 105.3°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D959 |
|---|---|
| RGB | rgb(226, 217, 89) |
| HSL | hsl(56, 70%, 62%) |
| HSV | hsv(56, 61%, 89%) |
| CMYK | cmyk(0%, 4%, 60.6%, 11.4%) |
| CIE-LAB | lab(85.26, -12.41, 62.37) |
| CIE-LCH | lch(85.26, 63.59, 101.25°) |
| OKLab | oklab(86.87% -0.039 0.1426) |
| OKLCH | oklch(86.87% 0.148 105.3) |
| XYZ | xyz(57.9821, 66.5177, 19.2342) |
| Luminance | 0.6652 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.52
Piss Yellow
#DDD618
ΔE00 4.50
Yellowish
#FAEE66
ΔE00 4.84
Sandy Yellow
#FDEE73
ΔE00 5.14
Sand Yellow
#FCE166
ΔE00 5.29
Sandy
#F1DA7A
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D959 #5962E2
analogous
#E29459 #E2D959 #A7E259
triadic
#E2D959 #59E2D9 #D959E2
tetradic
#E2D959 #59E294 #5962E2 #E259A7
square
#E2D959 #59E294 #5962E2 #E259A7
split-complementary
#E2D959 #59A7E2 #9459E2
monochromatic
#A49B1D #D8CC26 #E2D959 #EBE58D #F4F1C1
Accessibility & contrast
On white
1.47
#E2D959 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.30
#E2D959 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D959
14.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D959 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D959 | 1.00 | 1.47 | 14.30 | 14.30 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD24A
Deuteranopia (green-blind)
#EED860
Tritanopia (blue-blind)
#F1CCBE
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e2d959; /* rgb */ color: rgb(226, 217, 89); /* oklch */ color: oklch(86.9% 0.148 105.3);
Tailwind
colors: {
custom: {
50: '#eee48d',
500: '#e2d959',
950: '#000000',
},
}SCSS
$custom: #e2d959; $custom-light: #eee48d; $custom-dark: #000000;
JSON
{
"hex": "#e2d959",
"rgb": {
"r": 226,
"g": 217,
"b": 89
},
"hsl": {
"h": 56.058,
"s": 70.256,
"l": 61.765
},
"oklch": {
"l": 0.86865,
"c": 0.14786,
"h": 105.3
},
"luminance": 0.66516
}Semantic roles & 50–950 ramp
primary
#E2D959
secondary
#3940A6
accent
#20D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F