#E2DFA2#E2DFA2
#E2DFA2 is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 89.1% C 0.079 H 105.5°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DFA2 |
|---|---|
| RGB | rgb(226, 223, 162) |
| HSL | hsl(57, 52%, 76%) |
| HSV | hsv(57, 28%, 89%) |
| CMYK | cmyk(0%, 1.3%, 28.3%, 11.4%) |
| CIE-LAB | lab(87.75, -8.34, 30.35) |
| CIE-LCH | lch(87.75, 31.48, 105.37°) |
| OKLab | oklab(89.15% -0.0211 0.0761) |
| OKLCH | oklch(89.15% 0.079 105.5) |
| XYZ | xyz(64.2736, 71.5539, 44.6008) |
| Luminance | 0.7155 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 2.30
Beige (survey)
#E6DAA6
ΔE00 3.58
Vanilla
#F3E5AB
ΔE00 3.93
Light Tan
#FBEEAC
ΔE00 4.76
Khaki (CSS)
#F0E68C
ΔE00 5.81
Light Khaki
#E6F2A2
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DFA2 #A2A5E2
analogous
#E2BFA2 #E2DFA2 #C5E2A2
triadic
#E2DFA2 #A2E2DF #DFA2E2
tetradic
#E2DFA2 #A2E2BF #A2A5E2 #E2A2C5
square
#E2DFA2 #A2E2BF #A2A5E2 #E2A2C5
split-complementary
#E2DFA2 #A2C5E2 #BFA2E2
monochromatic
#C5BF45 #D3CF73 #E2DFA2 #F1EFD1 #F8F7E8
Accessibility & contrast
On white
1.37
#E2DFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.31
#E2DFA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DFA2
15.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DFA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DFA2 | 1.00 | 1.37 | 15.31 | 15.31 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9DA9E
Deuteranopia (green-blind)
#EBDDA4
Tritanopia (blue-blind)
#EBD7CF
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e2dfa2; /* rgb */ color: rgb(226, 223, 162); /* oklch */ color: oklch(89.1% 0.079 105.5);
Tailwind
colors: {
custom: {
50: '#ece8be',
500: '#e2dfa2',
950: '#000000',
},
}SCSS
$custom: #e2dfa2; $custom-light: #ece8be; $custom-dark: #000000;
JSON
{
"hex": "#e2dfa2",
"rgb": {
"r": 226,
"g": 223,
"b": 162
},
"hsl": {
"h": 57.188,
"s": 52.459,
"l": 76.078
},
"oklch": {
"l": 0.89148,
"c": 0.07897,
"h": 105.5
},
"luminance": 0.71553
}Semantic roles & 50–950 ramp
primary
#E2DFA2
secondary
#6D71BB
accent
#2DC026
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161612
muted
#848482