#E9D959#E9D959
#E9D959 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.5% C 0.147 H 102.2°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #E9D959 |
|---|---|
| RGB | rgb(233, 217, 89) |
| HSL | hsl(53, 77%, 63%) |
| HSV | hsv(53, 62%, 91%) |
| CMYK | cmyk(0%, 6.9%, 61.8%, 8.6%) |
| CIE-LAB | lab(85.84, -9.53, 63.17) |
| CIE-LCH | lch(85.84, 63.88, 98.58°) |
| OKLab | oklab(87.47% -0.0312 0.1442) |
| OKLCH | oklch(87.47% 0.147 102.2) |
| XYZ | xyz(60.2226, 67.6730, 19.3392) |
| Luminance | 0.6767 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 0.92
Sand Yellow
#FCE166
ΔE00 3.67
Yellow Tan
#FFE36E
ΔE00 4.39
Sandy
#F1DA7A
ΔE00 4.60
Light Gold
#FDDC5C
ΔE00 4.61
Yellowish
#FAEE66
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9D959 #5969E9
analogous
#E99159 #E9D959 #B1E959
triadic
#E9D959 #59E9D9 #D959E9
tetradic
#E9D959 #59E991 #5969E9 #E959B1
square
#E9D959 #59E991 #5969E9 #E959B1
split-complementary
#E9D959 #59B1E9 #9159E9
monochromatic
#B09F17 #E2CD23 #E9D959 #F0E58F #F7F2C5
Accessibility & contrast
On white
1.44
#E9D959 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.53
#E9D959 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9D959
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9D959 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9D959 | 1.00 | 1.44 | 14.53 | 14.53 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD34A
Deuteranopia (green-blind)
#F0DA60
Tritanopia (blue-blind)
#FACBBE
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #e9d959; /* rgb */ color: rgb(233, 217, 89); /* oklch */ color: oklch(87.5% 0.147 102.2);
Tailwind
colors: {
custom: {
50: '#f3e48d',
500: '#e9d959',
950: '#000000',
},
}SCSS
$custom: #e9d959; $custom-light: #f3e48d; $custom-dark: #000000;
JSON
{
"hex": "#e9d959",
"rgb": {
"r": 233,
"g": 217,
"b": 89
},
"hsl": {
"h": 53.333,
"s": 76.596,
"l": 63.137
},
"oklch": {
"l": 0.87469,
"c": 0.14749,
"h": 102.2
},
"luminance": 0.67671
}Semantic roles & 50–950 ramp
primary
#E9D959
secondary
#3543B1
accent
#23D90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F