#E9DC4F#E9DC4F
#E9DC4F is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.0% C 0.158 H 104.0°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).
Color values
| HEX | #E9DC4F |
|---|---|
| RGB | rgb(233, 220, 79) |
| HSL | hsl(55, 78%, 61%) |
| HSV | hsv(55, 66%, 91%) |
| CMYK | cmyk(0%, 5.6%, 66.1%, 8.6%) |
| CIE-LAB | lab(86.54, -11.62, 67.98) |
| CIE-LCH | lch(86.54, 68.97, 99.70°) |
| OKLab | oklab(88% -0.0382 0.1529) |
| OKLCH | oklch(88% 0.158 104) |
| XYZ | xyz(60.6112, 69.0769, 17.5361) |
| Luminance | 0.6907 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.72
Piss Yellow
#DDD618
ΔE00 3.67
Yellowish
#FAEE66
ΔE00 3.99
Sand Yellow
#FCE166
ΔE00 4.39
Sandy Yellow
#FDEE73
ΔE00 4.58
Banana
#FFE135
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9DC4F #4F5CE9
analogous
#E98F4F #E9DC4F #A9E94F
triadic
#E9DC4F #4FE9DC #DC4FE9
tetradic
#E9DC4F #4FE98F #4F5CE9 #E94FA9
square
#E9DC4F #4FE98F #4F5CE9 #E94FA9
split-complementary
#E9DC4F #4FA9E9 #8F4FE9
monochromatic
#A99C15 #DFCE1C #E9DC4F #F0E785 #F7F2BC
Accessibility & contrast
On white
1.42
#E9DC4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.82
#E9DC4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9DC4F
14.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9DC4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9DC4F | 1.00 | 1.42 | 14.82 | 14.82 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD53C
Deuteranopia (green-blind)
#F3DC58
Tritanopia (blue-blind)
#FACDBF
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #e9dc4f; /* rgb */ color: rgb(233, 220, 79); /* oklch */ color: oklch(88.0% 0.158 104.0);
Tailwind
colors: {
custom: {
50: '#f4e687',
500: '#e9dc4f',
950: '#000000',
},
}SCSS
$custom: #e9dc4f; $custom-light: #f4e687; $custom-dark: #000000;
JSON
{
"hex": "#e9dc4f",
"rgb": {
"r": 233,
"g": 220,
"b": 79
},
"hsl": {
"h": 54.935,
"s": 77.778,
"l": 61.176
},
"oklch": {
"l": 0.87999,
"c": 0.15755,
"h": 104
},
"luminance": 0.69075
}Semantic roles & 50–950 ramp
primary
#E9DC4F
secondary
#323CAA
accent
#1DDA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F