#E8D670#E8D670
#E8D670 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.0% C 0.125 H 99.5°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D670 |
|---|---|
| RGB | rgb(232, 214, 112) |
| HSL | hsl(51, 72%, 67%) |
| HSV | hsv(51, 52%, 91%) |
| CMYK | cmyk(0%, 7.8%, 51.7%, 9%) |
| CIE-LAB | lab(85.21, -6.74, 52.08) |
| CIE-LCH | lch(85.21, 52.51, 97.37°) |
| OKLab | oklab(87.02% -0.0206 0.123) |
| OKLCH | oklch(87.02% 0.125 99.5) |
| XYZ | xyz(60.2518, 66.4211, 24.9729) |
| Luminance | 0.6642 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.06
Dull Yellow
#EEDC5B
ΔE00 3.50
Sand (survey)
#E2CA76
ΔE00 4.12
Wheat (survey)
#FBDD7E
ΔE00 4.18
Pale Gold
#FDDE6C
ΔE00 4.31
Sand Yellow
#FCE166
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D670 #7082E8
analogous
#E89A70 #E8D670 #BEE870
triadic
#E8D670 #70E8D6 #D670E8
tetradic
#E8D670 #70E89A #7082E8 #E870BE
square
#E8D670 #70E89A #7082E8 #E870BE
split-complementary
#E8D670 #70BEE8 #9A70E8
monochromatic
#BFA71F #E0C73B #E8D670 #F0E5A5 #F9F4D9
Accessibility & contrast
On white
1.47
#E8D670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.28
#E8D670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D670
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D670 | 1.00 | 1.47 | 14.28 | 14.28 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D167
Deuteranopia (green-blind)
#ECD875
Tritanopia (blue-blind)
#F7C9BF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e8d670; /* rgb */ color: rgb(232, 214, 112); /* oklch */ color: oklch(87.0% 0.125 99.5);
Tailwind
colors: {
custom: {
50: '#f2e29b',
500: '#e8d670',
950: '#000000',
},
}SCSS
$custom: #e8d670; $custom-light: #f2e29b; $custom-dark: #000000;
JSON
{
"hex": "#e8d670",
"rgb": {
"r": 232,
"g": 214,
"b": 112
},
"hsl": {
"h": 51,
"s": 72.289,
"l": 67.451
},
"oklch": {
"l": 0.8702,
"c": 0.1247,
"h": 99.5
},
"luminance": 0.66419
}Semantic roles & 50–950 ramp
primary
#E8D670
secondary
#3E51BE
accent
#2ED411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F