#E7D671#E7D671
#E7D671 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.124 H 99.9°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D671 |
|---|---|
| RGB | rgb(231, 214, 113) |
| HSL | hsl(51, 71%, 67%) |
| HSV | hsv(51, 51%, 91%) |
| CMYK | cmyk(0%, 7.4%, 51.1%, 9.4%) |
| CIE-LAB | lab(85.14, -7.06, 51.50) |
| CIE-LCH | lch(85.14, 51.98, 97.80°) |
| OKLab | oklab(86.95% -0.0213 0.1218) |
| OKLCH | oklch(86.95% 0.124 99.9) |
| XYZ | xyz(59.9841, 66.2765, 25.2525) |
| Luminance | 0.6627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.22
Dull Yellow
#EEDC5B
ΔE00 3.65
Sand (survey)
#E2CA76
ΔE00 4.15
Khaki (CSS)
#F0E68C
ΔE00 4.31
Wheat (survey)
#FBDD7E
ΔE00 4.38
Pale Gold
#FDDE6C
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D671 #7182E7
analogous
#E79B71 #E7D671 #BDE771
triadic
#E7D671 #71E7D6 #D671E7
tetradic
#E7D671 #71E79B #7182E7 #E771BD
square
#E7D671 #71E79B #7182E7 #E771BD
split-complementary
#E7D671 #71BDE7 #9B71E7
monochromatic
#BEA720 #DEC73D #E7D671 #F0E5A5 #F9F4DA
Accessibility & contrast
On white
1.47
#E7D671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.25
#E7D671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D671
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D671 | 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)
#E7D168
Deuteranopia (green-blind)
#EBD875
Tritanopia (blue-blind)
#F6CABF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e7d671; /* rgb */ color: rgb(231, 214, 113); /* oklch */ color: oklch(86.9% 0.124 99.9);
Tailwind
colors: {
custom: {
50: '#f1e29c',
500: '#e7d671',
950: '#000000',
},
}SCSS
$custom: #e7d671; $custom-light: #f1e29c; $custom-dark: #000000;
JSON
{
"hex": "#e7d671",
"rgb": {
"r": 231,
"g": 214,
"b": 113
},
"hsl": {
"h": 51.356,
"s": 71.084,
"l": 67.451
},
"oklch": {
"l": 0.86945,
"c": 0.12367,
"h": 99.9
},
"luminance": 0.66274
}Semantic roles & 50–950 ramp
primary
#E7D671
secondary
#3F51BD
accent
#2ED312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F