#E6DC8A#E6DC8A
#E6DC8A is a very light, moderate yellow. Relative luminance 0.698; OKLCH L 88.4% C 0.104 H 102.2°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).
Color values
| HEX | #E6DC8A |
|---|---|
| RGB | rgb(230, 220, 138) |
| HSL | hsl(53, 65%, 72%) |
| HSV | hsv(53, 40%, 90%) |
| CMYK | cmyk(0%, 4.3%, 40%, 9.8%) |
| CIE-LAB | lab(86.92, -8.10, 41.48) |
| CIE-LCH | lch(86.92, 42.27, 101.05°) |
| OKLab | oklab(88.44% -0.0219 0.1012) |
| OKLCH | oklch(88.44% 0.104 102.2) |
| XYZ | xyz(62.8149, 69.8461, 34.2126) |
| Luminance | 0.6984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.48
Sandy
#F1DA7A
ΔE00 4.17
Palegoldenrod
#EEE8AA
ΔE00 4.85
Dark Cream
#FFF39A
ΔE00 5.13
Light Tan
#FBEEAC
ΔE00 5.33
Vanilla
#F3E5AB
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E6DC8A #8A94E6
analogous
#E6AE8A #E6DC8A #C2E68A
triadic
#E6DC8A #8AE6DC #DC8AE6
tetradic
#E6DC8A #8AE6AE #8A94E6 #E68AC2
square
#E6DC8A #8AE6AE #8A94E6 #E68AC2
split-complementary
#E6DC8A #8AC2E6 #AE8AE6
monochromatic
#CAB92B #DBCD58 #E6DC8A #F1EBBC #FAF7E6
Accessibility & contrast
On white
1.40
#E6DC8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.97
#E6DC8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E6DC8A
14.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E6DC8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E6DC8A | 1.00 | 1.40 | 14.97 | 14.97 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD784
Deuteranopia (green-blind)
#EDDC8D
Tritanopia (blue-blind)
#F3D2C8
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e6dc8a; /* rgb */ color: rgb(230, 220, 138); /* oklch */ color: oklch(88.4% 0.104 102.2);
Tailwind
colors: {
custom: {
50: '#efe6ad',
500: '#e6dc8a',
950: '#000000',
},
}SCSS
$custom: #e6dc8a; $custom-light: #efe6ad; $custom-dark: #000000;
JSON
{
"hex": "#e6dc8a",
"rgb": {
"r": 230,
"g": 220,
"b": 138
},
"hsl": {
"h": 53.478,
"s": 64.789,
"l": 72.157
},
"oklch": {
"l": 0.88443,
"c": 0.10353,
"h": 102.2
},
"luminance": 0.69844
}Semantic roles & 50–950 ramp
primary
#E6DC8A
secondary
#5561BF
accent
#2CCD19
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481