#E7D670#E7D670
#E7D670 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.125 H 100.0°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D670 |
|---|---|
| RGB | rgb(231, 214, 112) |
| HSL | hsl(51, 71%, 67%) |
| HSV | hsv(51, 52%, 91%) |
| CMYK | cmyk(0%, 7.4%, 51.5%, 9.4%) |
| CIE-LAB | lab(85.13, -7.14, 51.96) |
| CIE-LCH | lch(85.13, 52.44, 97.83°) |
| OKLab | oklab(86.93% -0.0217 0.1227) |
| OKLCH | oklch(86.93% 0.125 100) |
| XYZ | xyz(59.9281, 66.2541, 24.9577) |
| Luminance | 0.6625 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.28
Dull Yellow
#EEDC5B
ΔE00 3.52
Sand (survey)
#E2CA76
ΔE00 4.23
Khaki (CSS)
#F0E68C
ΔE00 4.38
Wheat (survey)
#FBDD7E
ΔE00 4.42
Sand Yellow
#FCE166
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D670 #7081E7
analogous
#E79B70 #E7D670 #BCE770
triadic
#E7D670 #70E7D6 #D670E7
tetradic
#E7D670 #70E79B #7081E7 #E770BC
square
#E7D670 #70E79B #7081E7 #E770BC
split-complementary
#E7D670 #70BCE7 #9B70E7
monochromatic
#BDA620 #DEC73C #E7D670 #F0E5A4 #F9F4D9
Accessibility & contrast
On white
1.47
#E7D670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.25
#E7D670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D670
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D670 | 1.00 | 1.47 | 14.25 | 14.25 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D167
Deuteranopia (green-blind)
#ECD875
Tritanopia (blue-blind)
#F6C9BE
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e7d670; /* rgb */ color: rgb(231, 214, 112); /* oklch */ color: oklch(86.9% 0.125 100.0);
Tailwind
colors: {
custom: {
50: '#f1e29b',
500: '#e7d670',
950: '#000000',
},
}SCSS
$custom: #e7d670; $custom-light: #f1e29b; $custom-dark: #000000;
JSON
{
"hex": "#e7d670",
"rgb": {
"r": 231,
"g": 214,
"b": 112
},
"hsl": {
"h": 51.429,
"s": 71.257,
"l": 67.255
},
"oklch": {
"l": 0.86932,
"c": 0.12464,
"h": 100
},
"luminance": 0.66252
}Semantic roles & 50–950 ramp
primary
#E7D670
secondary
#3F51BC
accent
#2ED312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F