#E9DC6C#E9DC6C
#E9DC6C is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.3% C 0.134 H 102.7°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).
Color values
| HEX | #E9DC6C |
|---|---|
| RGB | rgb(233, 220, 108) |
| HSL | hsl(54, 74%, 67%) |
| HSV | hsv(54, 54%, 91%) |
| CMYK | cmyk(0%, 5.6%, 53.6%, 8.6%) |
| CIE-LAB | lab(86.80, -9.68, 55.83) |
| CIE-LCH | lch(86.80, 56.66, 99.84°) |
| OKLab | oklab(88.29% -0.0295 0.1307) |
| OKLCH | oklch(88.29% 0.134 102.7) |
| XYZ | xyz(61.9062, 69.5949, 24.3567) |
| Luminance | 0.6959 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.42
Sandy
#F1DA7A
ΔE00 3.56
Khaki (CSS)
#F0E68C
ΔE00 4.05
Sandy Yellow
#FDEE73
ΔE00 4.17
Sand Yellow
#FCE166
ΔE00 4.17
Yellow Tan
#FFE36E
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9DC6C #6C79E9
analogous
#E99E6C #E9DC6C #B8E96C
triadic
#E9DC6C #6CE9DC #DC6CE9
tetradic
#E9DC6C #6CE99E #6C79E9 #E96CB8
square
#E9DC6C #6CE99E #6C79E9 #E96CB8
split-complementary
#E9DC6C #6CB8E9 #9E6CE9
monochromatic
#BEAD1C #E1CF37 #E9DC6C #F1E9A1 #F9F5D6
Accessibility & contrast
On white
1.41
#E9DC6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.92
#E9DC6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9DC6C
14.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9DC6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9DC6C | 1.00 | 1.41 | 14.92 | 14.92 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD661
Deuteranopia (green-blind)
#F1DC71
Tritanopia (blue-blind)
#F8CFC3
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #e9dc6c; /* rgb */ color: rgb(233, 220, 108); /* oklch */ color: oklch(88.3% 0.134 102.7);
Tailwind
colors: {
custom: {
50: '#f2e699',
500: '#e9dc6c',
950: '#000000',
},
}SCSS
$custom: #e9dc6c; $custom-light: #f2e699; $custom-dark: #000000;
JSON
{
"hex": "#e9dc6c",
"rgb": {
"r": 233,
"g": 220,
"b": 108
},
"hsl": {
"h": 53.76,
"s": 73.964,
"l": 66.863
},
"oklch": {
"l": 0.88285,
"c": 0.13403,
"h": 102.7
},
"luminance": 0.69593
}Semantic roles & 50–950 ramp
primary
#E9DC6C
secondary
#3C4ABD
accent
#24D60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F