#E9D970#E9D970
#E9D970 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.7% C 0.127 H 100.8°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #E9D970 |
|---|---|
| RGB | rgb(233, 217, 112) |
| HSL | hsl(52, 73%, 68%) |
| HSV | hsv(52, 52%, 91%) |
| CMYK | cmyk(0%, 6.9%, 51.9%, 8.6%) |
| CIE-LAB | lab(86.07, -7.85, 53.11) |
| CIE-LCH | lch(86.07, 53.69, 98.41°) |
| OKLab | oklab(87.72% -0.0238 0.1252) |
| OKLCH | oklch(87.72% 0.127 100.8) |
| XYZ | xyz(61.3437, 68.1214, 25.2435) |
| Luminance | 0.6812 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.45
Dull Yellow
#EEDC5B
ΔE00 3.01
Khaki (CSS)
#F0E68C
ΔE00 3.99
Sand Yellow
#FCE166
ΔE00 4.14
Yellow Tan
#FFE36E
ΔE00 4.31
Pale Gold
#FDDE6C
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9D970 #7080E9
analogous
#E99C70 #E9D970 #BDE970
triadic
#E9D970 #70E9D9 #D970E9
tetradic
#E9D970 #70E99C #7080E9 #E970BD
square
#E9D970 #70E99C #7080E9 #E970BD
split-complementary
#E9D970 #70BDE9 #9C70E9
monochromatic
#C1AB1E #E1CB3B #E9D970 #F1E7A5 #F9F5DA
Accessibility & contrast
On white
1.44
#E9D970 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.62
#E9D970 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9D970
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9D970 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9D970 | 1.00 | 1.44 | 14.62 | 14.62 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD466
Deuteranopia (green-blind)
#EFDA75
Tritanopia (blue-blind)
#F8CCC1
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #e9d970; /* rgb */ color: rgb(233, 217, 112); /* oklch */ color: oklch(87.7% 0.127 100.8);
Tailwind
colors: {
custom: {
50: '#f2e49c',
500: '#e9d970',
950: '#000000',
},
}SCSS
$custom: #e9d970; $custom-light: #f2e49c; $custom-dark: #000000;
JSON
{
"hex": "#e9d970",
"rgb": {
"r": 233,
"g": 217,
"b": 112
},
"hsl": {
"h": 52.066,
"s": 73.333,
"l": 67.647
},
"oklch": {
"l": 0.87719,
"c": 0.12748,
"h": 100.8
},
"luminance": 0.68119
}Semantic roles & 50–950 ramp
primary
#E9D970
secondary
#3E4FC0
accent
#2AD510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F