#E2DFAC#E2DFAC
#E2DFAC is a very light, moderate yellow. Relative luminance 0.719; OKLCH L 89.3% C 0.067 H 104.9°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DFAC |
|---|---|
| RGB | rgb(226, 223, 172) |
| HSL | hsl(57, 48%, 78%) |
| HSV | hsv(57, 24%, 89%) |
| CMYK | cmyk(0%, 1.3%, 23.9%, 11.4%) |
| CIE-LAB | lab(87.93, -7.02, 25.44) |
| CIE-LCH | lch(87.93, 26.39, 105.42°) |
| OKLab | oklab(89.35% -0.0171 0.0645) |
| OKLCH | oklch(89.35% 0.067 104.9) |
| XYZ | xyz(65.1980, 71.9236, 49.4698) |
| Luminance | 0.7192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 3.06
Palegoldenrod
#EEE8AA
ΔE00 3.20
Vanilla
#F3E5AB
ΔE00 4.10
Light Tan
#FBEEAC
ΔE00 5.52
Egg Shell
#FFFCC4
ΔE00 6.19
Lemonchiffon
#FFFACD
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DFAC #ACAFE2
analogous
#E2C4AC #E2DFAC #CAE2AC
triadic
#E2DFAC #ACE2DF #DFACE2
tetradic
#E2DFAC #ACE2C4 #ACAFE2 #E2ACCA
square
#E2DFAC #ACE2C4 #ACAFE2 #E2ACCA
split-complementary
#E2DFAC #ACCAE2 #C4ACE2
monochromatic
#C2BC51 #D2CE7F #E2DFAC #F2F0D9 #F7F6E8
Accessibility & contrast
On white
1.37
#E2DFAC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.38
#E2DFAC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DFAC
15.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DFAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DFAC | 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)
#E8DBA9
Deuteranopia (green-blind)
#EADEAE
Tritanopia (blue-blind)
#EAD8D1
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e2dfac; /* rgb */ color: rgb(226, 223, 172); /* oklch */ color: oklch(89.3% 0.067 104.9);
Tailwind
colors: {
custom: {
50: '#ebe8c5',
500: '#e2dfac',
950: '#000000',
},
}SCSS
$custom: #e2dfac; $custom-light: #ebe8c5; $custom-dark: #000000;
JSON
{
"hex": "#e2dfac",
"rgb": {
"r": 226,
"g": 223,
"b": 172
},
"hsl": {
"h": 56.667,
"s": 48.214,
"l": 78.039
},
"oklch": {
"l": 0.89348,
"c": 0.06669,
"h": 104.9
},
"luminance": 0.71923
}Semantic roles & 50–950 ramp
primary
#E2DFAC
secondary
#777BBB
accent
#32BB2A
background
#FEFEFD
surface
#FDFCF9
border
#D5D5D2
text
#161612
muted
#848482