#E7D96F#E7D96F
#E7D96F is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.5% C 0.128 H 101.9°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D96F |
|---|---|
| RGB | rgb(231, 217, 111) |
| HSL | hsl(53, 71%, 67%) |
| HSV | hsv(53, 52%, 91%) |
| CMYK | cmyk(0%, 6.1%, 51.9%, 9.4%) |
| CIE-LAB | lab(85.89, -8.74, 53.33) |
| CIE-LCH | lch(85.89, 54.04, 99.31°) |
| OKLab | oklab(87.53% -0.0264 0.1256) |
| OKLCH | oklch(87.53% 0.128 101.9) |
| XYZ | xyz(60.6389, 67.7644, 24.9215) |
| Luminance | 0.6776 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.98
Dull Yellow
#EEDC5B
ΔE00 3.05
Khaki (CSS)
#F0E68C
ΔE00 3.96
Sand Yellow
#FCE166
ΔE00 4.51
Yellow Tan
#FFE36E
ΔE00 4.73
Pale Gold
#FDDE6C
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D96F #6F7DE7
analogous
#E79D6F #E7D96F #B9E76F
triadic
#E7D96F #6FE7D9 #D96FE7
tetradic
#E7D96F #6FE79D #6F7DE7 #E76FB9
square
#E7D96F #6FE79D #6F7DE7 #E76FB9
split-complementary
#E7D96F #6FB9E7 #9D6FE7
monochromatic
#BCAA1F #DECB3B #E7D96F #F0E7A3 #F8F5D8
Accessibility & contrast
On white
1.44
#E7D96F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.55
#E7D96F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D96F
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D96F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D96F | 1.00 | 1.44 | 14.55 | 14.55 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD365
Deuteranopia (green-blind)
#EEDA74
Tritanopia (blue-blind)
#F6CCC1
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #e7d96f; /* rgb */ color: rgb(231, 217, 111); /* oklch */ color: oklch(87.5% 0.128 101.9);
Tailwind
colors: {
custom: {
50: '#f1e49b',
500: '#e7d96f',
950: '#000000',
},
}SCSS
$custom: #e7d96f; $custom-light: #f1e49b; $custom-dark: #000000;
JSON
{
"hex": "#e7d96f",
"rgb": {
"r": 231,
"g": 217,
"b": 111
},
"hsl": {
"h": 53,
"s": 71.429,
"l": 67.059
},
"oklch": {
"l": 0.87534,
"c": 0.12838,
"h": 101.9
},
"luminance": 0.67762
}Semantic roles & 50–950 ramp
primary
#E7D96F
secondary
#3F4DBC
accent
#29D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F