#E7D960#E7D960
#E7D960 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.4% C 0.142 H 102.7°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D960 |
|---|---|
| RGB | rgb(231, 217, 96) |
| HSL | hsl(54, 74%, 64%) |
| HSV | hsv(54, 58%, 91%) |
| CMYK | cmyk(0%, 6.1%, 58.4%, 9.4%) |
| CIE-LAB | lab(85.74, -9.88, 59.98) |
| CIE-LCH | lch(85.74, 60.79, 99.36°) |
| OKLab | oklab(87.36% -0.0313 0.1383) |
| OKLCH | oklch(87.36% 0.142 102.7) |
| XYZ | xyz(59.8813, 67.4614, 20.9311) |
| Luminance | 0.6746 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.59
Sand Yellow
#FCE166
ΔE00 4.07
Sandy
#F1DA7A
ΔE00 4.23
Yellow Tan
#FFE36E
ΔE00 4.64
Sandy Yellow
#FDEE73
ΔE00 4.66
Yellowish
#FAEE66
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D960 #606EE7
analogous
#E79660 #E7D960 #B2E760
triadic
#E7D960 #60E7D9 #D960E7
tetradic
#E7D960 #60E796 #606EE7 #E760B2
square
#E7D960 #60E796 #606EE7 #E760B2
split-complementary
#E7D960 #60B2E7 #9660E7
monochromatic
#B2A21B #DFCC2B #E7D960 #EFE695 #F7F2CA
Accessibility & contrast
On white
1.45
#E7D960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.49
#E7D960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D960
14.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D960 | 1.00 | 1.45 | 14.49 | 14.49 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD353
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#F7CBBF
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e7d960; /* rgb */ color: rgb(231, 217, 96); /* oklch */ color: oklch(87.4% 0.142 102.7);
Tailwind
colors: {
custom: {
50: '#f1e491',
500: '#e7d960',
950: '#000000',
},
}SCSS
$custom: #e7d960; $custom-light: #f1e491; $custom-dark: #000000;
JSON
{
"hex": "#e7d960",
"rgb": {
"r": 231,
"g": 217,
"b": 96
},
"hsl": {
"h": 53.778,
"s": 73.77,
"l": 64.118
},
"oklch": {
"l": 0.87364,
"c": 0.14183,
"h": 102.7
},
"luminance": 0.67459
}Semantic roles & 50–950 ramp
primary
#E7D960
secondary
#3945B2
accent
#24D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F