#E2DE8A#E2DE8A
#E2DE8A is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.5% C 0.106 H 106.0°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DE8A |
|---|---|
| RGB | rgb(226, 222, 138) |
| HSL | hsl(57, 60%, 71%) |
| HSV | hsv(57, 39%, 89%) |
| CMYK | cmyk(0%, 1.8%, 38.9%, 11.4%) |
| CIE-LAB | lab(87.12, -10.67, 41.67) |
| CIE-LCH | lch(87.12, 43.01, 104.37°) |
| OKLab | oklab(88.52% -0.0292 0.1016) |
| OKLCH | oklch(88.52% 0.106 106) |
| XYZ | xyz(62.0737, 70.2477, 34.3291) |
| Luminance | 0.7025 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.74
Greenish Beige
#C9D179
ΔE00 4.81
Palegoldenrod
#EEE8AA
ΔE00 4.90
Dark Cream
#FFF39A
ΔE00 5.34
Buff
#FEF69E
ΔE00 5.44
Sandy
#F1DA7A
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DE8A #8A8EE2
analogous
#E2B28A #E2DE8A #BAE28A
triadic
#E2DE8A #8AE2DE #DE8AE2
tetradic
#E2DE8A #8AE2B2 #8A8EE2 #E28ABA
square
#E2DE8A #8AE2B2 #8A8EE2 #E28ABA
split-complementary
#E2DE8A #8ABAE2 #B28AE2
monochromatic
#C2BB30 #D6D059 #E2DE8A #EEECBB #F9F8E6
Accessibility & contrast
On white
1.40
#E2DE8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.05
#E2DE8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DE8A
15.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DE8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DE8A | 1.00 | 1.40 | 15.05 | 15.05 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD884
Deuteranopia (green-blind)
#EDDC8E
Tritanopia (blue-blind)
#EED4C9
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2de8a; /* rgb */ color: rgb(226, 222, 138); /* oklch */ color: oklch(88.5% 0.106 106.0);
Tailwind
colors: {
custom: {
50: '#ece8ad',
500: '#e2de8a',
950: '#000000',
},
}SCSS
$custom: #e2de8a; $custom-light: #ece8ad; $custom-dark: #000000;
JSON
{
"hex": "#e2de8a",
"rgb": {
"r": 226,
"g": 222,
"b": 138
},
"hsl": {
"h": 57.273,
"s": 60.274,
"l": 71.373
},
"oklch": {
"l": 0.88522,
"c": 0.10574,
"h": 106
},
"luminance": 0.70246
}Semantic roles & 50–950 ramp
primary
#E2DE8A
secondary
#565ABA
accent
#25C81E
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481