#E4DC8A#E4DC8A
#E4DC8A is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.3% C 0.103 H 103.5°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).
Color values
| HEX | #E4DC8A |
|---|---|
| RGB | rgb(228, 220, 138) |
| HSL | hsl(55, 63%, 72%) |
| HSV | hsv(55, 39%, 89%) |
| CMYK | cmyk(0%, 3.5%, 39.5%, 10.6%) |
| CIE-LAB | lab(86.76, -8.89, 41.24) |
| CIE-LCH | lch(86.76, 42.19, 102.16°) |
| OKLab | oklab(88.28% -0.0241 0.1007) |
| OKLCH | oklch(88.28% 0.104 103.5) |
| XYZ | xyz(62.1766, 69.5170, 34.1826) |
| Luminance | 0.6952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.62
Sandy
#F1DA7A
ΔE00 4.67
Palegoldenrod
#EEE8AA
ΔE00 4.80
Dark Cream
#FFF39A
ΔE00 5.30
Greenish Beige
#C9D179
ΔE00 5.46
Light Tan
#FBEEAC
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4DC8A #8A92E4
analogous
#E4AF8A #E4DC8A #BFE48A
triadic
#E4DC8A #8AE4DC #DC8AE4
tetradic
#E4DC8A #8AE4AF #8A92E4 #E48ABF
square
#E4DC8A #8AE4AF #8A92E4 #E48ABF
split-complementary
#E4DC8A #8ABFE4 #AF8AE4
monochromatic
#C6B82E #D9CD58 #E4DC8A #EFEBBC #F9F8E6
Accessibility & contrast
On white
1.41
#E4DC8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.90
#E4DC8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4DC8A
14.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4DC8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4DC8A | 1.00 | 1.41 | 14.90 | 14.90 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD784
Deuteranopia (green-blind)
#EDDB8D
Tritanopia (blue-blind)
#F0D2C8
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #e4dc8a; /* rgb */ color: rgb(228, 220, 138); /* oklch */ color: oklch(88.3% 0.103 103.5);
Tailwind
colors: {
custom: {
50: '#eee6ad',
500: '#e4dc8a',
950: '#000000',
},
}SCSS
$custom: #e4dc8a; $custom-light: #eee6ad; $custom-dark: #000000;
JSON
{
"hex": "#e4dc8a",
"rgb": {
"r": 228,
"g": 220,
"b": 138
},
"hsl": {
"h": 54.667,
"s": 62.5,
"l": 71.765
},
"oklch": {
"l": 0.88276,
"c": 0.1035,
"h": 103.5
},
"luminance": 0.69515
}Semantic roles & 50–950 ramp
primary
#E4DC8A
secondary
#565FBD
accent
#2BCA1B
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481