#E9DF5C#E9DF5C
#E9DF5C is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.7% C 0.151 H 104.9°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).
Color values
| HEX | #E9DF5C |
|---|---|
| RGB | rgb(233, 223, 92) |
| HSL | hsl(56, 76%, 64%) |
| HSV | hsv(56, 61%, 91%) |
| CMYK | cmyk(0%, 4.3%, 60.5%, 8.6%) |
| CIE-LAB | lab(87.42, -12.33, 63.61) |
| CIE-LCH | lch(87.42, 64.80, 100.97°) |
| OKLab | oklab(88.73% -0.0388 0.1455) |
| OKLCH | oklch(88.73% 0.151 104.9) |
| XYZ | xyz(61.9259, 70.8738, 20.5412) |
| Luminance | 0.7087 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.06
Yellowish
#FAEE66
ΔE00 3.39
Sandy Yellow
#FDEE73
ΔE00 3.82
Sand Yellow
#FCE166
ΔE00 4.58
Piss Yellow
#DDD618
ΔE00 4.74
Straw
#FCF679
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9DF5C #5C66E9
analogous
#E9985C #E9DF5C #ACE95C
triadic
#E9DF5C #5CE9DF #DF5CE9
tetradic
#E9DF5C #5CE998 #5C66E9 #E95CAC
square
#E9DF5C #5CE998 #5C66E9 #E95CAC
split-complementary
#E9DF5C #5CACE9 #985CE9
monochromatic
#B3A818 #E2D426 #E9DF5C #F0EA92 #F8F4C8
Accessibility & contrast
On white
1.38
#E9DF5C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.17
#E9DF5C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9DF5C
15.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9DF5C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9DF5C | 1.00 | 1.38 | 15.17 | 15.17 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D84D
Deuteranopia (green-blind)
#F5DE63
Tritanopia (blue-blind)
#F9D1C3
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #e9df5c; /* rgb */ color: rgb(233, 223, 92); /* oklch */ color: oklch(88.7% 0.151 104.9);
Tailwind
colors: {
custom: {
50: '#f3e88f',
500: '#e9df5c',
950: '#000000',
},
}SCSS
$custom: #e9df5c; $custom-light: #f3e88f; $custom-dark: #000000;
JSON
{
"hex": "#e9df5c",
"rgb": {
"r": 233,
"g": 223,
"b": 92
},
"hsl": {
"h": 55.745,
"s": 76.216,
"l": 63.725
},
"oklch": {
"l": 0.88733,
"c": 0.1506,
"h": 104.9
},
"luminance": 0.70872
}Semantic roles & 50–950 ramp
primary
#E9DF5C
secondary
#363FB3
accent
#1CD80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F