#E4DB8A#E4DB8A
#E4DB8A is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.1% C 0.102 H 102.8°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).
Color values
| HEX | #E4DB8A |
|---|---|
| RGB | rgb(228, 219, 138) |
| HSL | hsl(54, 63%, 72%) |
| HSV | hsv(54, 39%, 89%) |
| CMYK | cmyk(0%, 3.9%, 39.5%, 10.6%) |
| CIE-LAB | lab(86.50, -8.38, 40.91) |
| CIE-LCH | lch(86.50, 41.76, 101.58°) |
| OKLab | oklab(88.07% -0.0227 0.0999) |
| OKLCH | oklch(88.07% 0.102 102.8) |
| XYZ | xyz(61.9150, 68.9936, 34.0954) |
| Luminance | 0.6899 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.80
Sandy
#F1DA7A
ΔE00 4.50
Palegoldenrod
#EEE8AA
ΔE00 4.82
Dark Cream
#FFF39A
ΔE00 5.45
Light Tan
#FBEEAC
ΔE00 5.51
Vanilla
#F3E5AB
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4DB8A #8A93E4
analogous
#E4AE8A #E4DB8A #C0E48A
triadic
#E4DB8A #8AE4DB #DB8AE4
tetradic
#E4DB8A #8AE4AE #8A93E4 #E48AC0
square
#E4DB8A #8AE4AE #8A93E4 #E48AC0
split-complementary
#E4DB8A #8AC0E4 #AE8AE4
monochromatic
#C6B72E #D9CC58 #E4DB8A #EFEABC #F9F7E6
Accessibility & contrast
On white
1.42
#E4DB8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.80
#E4DB8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4DB8A
14.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4DB8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4DB8A | 1.00 | 1.42 | 14.80 | 14.80 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D684
Deuteranopia (green-blind)
#ECDB8D
Tritanopia (blue-blind)
#F0D1C7
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #e4db8a; /* rgb */ color: rgb(228, 219, 138); /* oklch */ color: oklch(88.1% 0.102 102.8);
Tailwind
colors: {
custom: {
50: '#eee6ad',
500: '#e4db8a',
950: '#000000',
},
}SCSS
$custom: #e4db8a; $custom-light: #eee6ad; $custom-dark: #000000;
JSON
{
"hex": "#e4db8a",
"rgb": {
"r": 228,
"g": 219,
"b": 138
},
"hsl": {
"h": 54,
"s": 62.5,
"l": 71.765
},
"oklch": {
"l": 0.88071,
"c": 0.10244,
"h": 102.8
},
"luminance": 0.68992
}Semantic roles & 50–950 ramp
primary
#E4DB8A
secondary
#5660BD
accent
#2DCA1B
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481