#E8D770#E8D770
#E8D770 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.2% C 0.126 H 100.1°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D770 |
|---|---|
| RGB | rgb(232, 215, 112) |
| HSL | hsl(52, 72%, 67%) |
| HSV | hsv(52, 52%, 91%) |
| CMYK | cmyk(0%, 7.3%, 51.7%, 9%) |
| CIE-LAB | lab(85.47, -7.24, 52.38) |
| CIE-LCH | lch(85.47, 52.88, 97.87°) |
| OKLab | oklab(87.22% -0.022 0.1237) |
| OKLCH | oklch(87.22% 0.126 100.1) |
| XYZ | xyz(60.5057, 66.9288, 25.0575) |
| Luminance | 0.6693 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.23
Dull Yellow
#EEDC5B
ΔE00 3.32
Khaki (CSS)
#F0E68C
ΔE00 4.26
Sand Yellow
#FCE166
ΔE00 4.32
Wheat (survey)
#FBDD7E
ΔE00 4.36
Pale Gold
#FDDE6C
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D770 #7081E8
analogous
#E89B70 #E8D770 #BDE870
triadic
#E8D770 #70E8D7 #D770E8
tetradic
#E8D770 #70E89B #7081E8 #E870BD
square
#E8D770 #70E89B #7081E8 #E870BD
split-complementary
#E8D770 #70BDE8 #9B70E8
monochromatic
#BFA81F #E0C83B #E8D770 #F0E6A5 #F9F4D9
Accessibility & contrast
On white
1.46
#E8D770 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.39
#E8D770 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D770
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D770 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D770 | 1.00 | 1.46 | 14.39 | 14.39 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D267
Deuteranopia (green-blind)
#EDD975
Tritanopia (blue-blind)
#F7CABF
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e8d770; /* rgb */ color: rgb(232, 215, 112); /* oklch */ color: oklch(87.2% 0.126 100.1);
Tailwind
colors: {
custom: {
50: '#f2e39b',
500: '#e8d770',
950: '#000000',
},
}SCSS
$custom: #e8d770; $custom-light: #f2e39b; $custom-dark: #000000;
JSON
{
"hex": "#e8d770",
"rgb": {
"r": 232,
"g": 215,
"b": 112
},
"hsl": {
"h": 51.5,
"s": 72.289,
"l": 67.451
},
"oklch": {
"l": 0.87224,
"c": 0.12561,
"h": 100.1
},
"luminance": 0.66927
}Semantic roles & 50–950 ramp
primary
#E8D770
secondary
#3E50BE
accent
#2DD411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F