#E2DFAB#E2DFAB
#E2DFAB is a very light, moderate yellow. Relative luminance 0.719; OKLCH L 89.3% C 0.068 H 104.9°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DFAB |
|---|---|
| RGB | rgb(226, 223, 171) |
| HSL | hsl(57, 49%, 78%) |
| HSV | hsv(57, 24%, 89%) |
| CMYK | cmyk(0%, 1.3%, 24.3%, 11.4%) |
| CIE-LAB | lab(87.91, -7.16, 25.93) |
| CIE-LCH | lch(87.91, 26.90, 105.43°) |
| OKLab | oklab(89.33% -0.0175 0.0656) |
| OKLCH | oklch(89.33% 0.068 104.9) |
| XYZ | xyz(65.1024, 71.8854, 48.9659) |
| Luminance | 0.7188 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 3.05
Beige (survey)
#E6DAA6
ΔE00 3.05
Vanilla
#F3E5AB
ΔE00 4.03
Light Tan
#FBEEAC
ΔE00 5.40
Egg Shell
#FFFCC4
ΔE00 6.17
Lemonchiffon
#FFFACD
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DFAB #ABAEE2
analogous
#E2C3AB #E2DFAB #C9E2AB
triadic
#E2DFAB #ABE2DF #DFABE2
tetradic
#E2DFAB #ABE2C3 #ABAEE2 #E2ABC9
square
#E2DFAB #ABE2C3 #ABAEE2 #E2ABC9
split-complementary
#E2DFAB #ABC9E2 #C3ABE2
monochromatic
#C3BC50 #D2CE7E #E2DFAB #F2F0D8 #F7F6E8
Accessibility & contrast
On white
1.37
#E2DFAB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.38
#E2DFAB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DFAB
15.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DFAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DFAB | 1.00 | 1.37 | 15.38 | 15.38 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8DBA8
Deuteranopia (green-blind)
#EADEAD
Tritanopia (blue-blind)
#EAD8D1
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e2dfab; /* rgb */ color: rgb(226, 223, 171); /* oklch */ color: oklch(89.3% 0.068 104.9);
Tailwind
colors: {
custom: {
50: '#ebe8c4',
500: '#e2dfab',
950: '#000000',
},
}SCSS
$custom: #e2dfab; $custom-light: #ebe8c4; $custom-dark: #000000;
JSON
{
"hex": "#e2dfab",
"rgb": {
"r": 226,
"g": 223,
"b": 171
},
"hsl": {
"h": 56.727,
"s": 48.673,
"l": 77.843
},
"oklch": {
"l": 0.89328,
"c": 0.06793,
"h": 104.9
},
"luminance": 0.71884
}Semantic roles & 50–950 ramp
primary
#E2DFAB
secondary
#767ABB
accent
#32BC2A
background
#FEFEFD
surface
#FDFCF9
border
#D5D5D2
text
#161612
muted
#848482