#E2DF8D#E2DF8D
#E2DF8D is a very light, moderate yellow. Relative luminance 0.709; OKLCH L 88.8% C 0.104 H 106.5°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DF8D |
|---|---|
| RGB | rgb(226, 223, 141) |
| HSL | hsl(58, 59%, 72%) |
| HSV | hsv(58, 38%, 89%) |
| CMYK | cmyk(0%, 1.3%, 37.6%, 11.4%) |
| CIE-LAB | lab(87.42, -10.85, 40.56) |
| CIE-LCH | lch(87.42, 41.98, 104.97°) |
| OKLab | oklab(88.78% -0.0294 0.0993) |
| OKLCH | oklch(88.78% 0.104 106.5) |
| XYZ | xyz(62.5603, 70.8685, 35.5776) |
| Luminance | 0.7087 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.92
Palegoldenrod
#EEE8AA
ΔE00 4.54
Greenish Beige
#C9D179
ΔE00 4.85
Dark Cream
#FFF39A
ΔE00 5.33
Light Khaki
#E6F2A2
ΔE00 5.35
Buff
#FEF69E
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DF8D #8D90E2
analogous
#E2B58D #E2DF8D #BBE28D
triadic
#E2DF8D #8DE2DF #DF8DE2
tetradic
#E2DF8D #8DE2B5 #8D90E2 #E28DBB
square
#E2DF8D #8DE2B5 #8D90E2 #E28DBB
split-complementary
#E2DF8D #8DBBE2 #B58DE2
monochromatic
#C3BE32 #D6D15C #E2DF8D #EEEDBE #F9F8E7
Accessibility & contrast
On white
1.38
#E2DF8D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.17
#E2DF8D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DF8D
15.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DF8D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DF8D | 1.00 | 1.38 | 15.17 | 15.17 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD987
Deuteranopia (green-blind)
#EEDD90
Tritanopia (blue-blind)
#EDD5CB
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #e2df8d; /* rgb */ color: rgb(226, 223, 141); /* oklch */ color: oklch(88.8% 0.104 106.5);
Tailwind
colors: {
custom: {
50: '#ece8af',
500: '#e2df8d',
950: '#000000',
},
}SCSS
$custom: #e2df8d; $custom-light: #ece8af; $custom-dark: #000000;
JSON
{
"hex": "#e2df8d",
"rgb": {
"r": 226,
"g": 223,
"b": 141
},
"hsl": {
"h": 57.882,
"s": 59.441,
"l": 71.961
},
"oklch": {
"l": 0.88776,
"c": 0.10352,
"h": 106.5
},
"luminance": 0.70867
}Semantic roles & 50–950 ramp
primary
#E2DF8D
secondary
#595CBA
accent
#24C71E
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481