#E7D96E#E7D96E
#E7D96E is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.5% C 0.129 H 101.9°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D96E |
|---|---|
| RGB | rgb(231, 217, 110) |
| HSL | hsl(53, 72%, 67%) |
| HSV | hsv(53, 52%, 91%) |
| CMYK | cmyk(0%, 6.1%, 52.4%, 9.4%) |
| CIE-LAB | lab(85.88, -8.82, 53.78) |
| CIE-LCH | lch(85.88, 54.50, 99.31°) |
| OKLab | oklab(87.52% -0.0267 0.1265) |
| OKLCH | oklch(87.52% 0.129 101.9) |
| XYZ | xyz(60.5842, 67.7425, 24.6331) |
| Luminance | 0.6774 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.93
Sandy
#F1DA7A
ΔE00 3.05
Khaki (CSS)
#F0E68C
ΔE00 4.05
Sand Yellow
#FCE166
ΔE00 4.45
Yellow Tan
#FFE36E
ΔE00 4.70
Pale Gold
#FDDE6C
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D96E #6E7CE7
analogous
#E79D6E #E7D96E #B9E76E
triadic
#E7D96E #6EE7D9 #D96EE7
tetradic
#E7D96E #6EE79D #6E7CE7 #E76EB9
square
#E7D96E #6EE79D #6E7CE7 #E76EB9
split-complementary
#E7D96E #6EB9E7 #9D6EE7
monochromatic
#BCA91F #DECB39 #E7D96E #F0E7A3 #F8F5D7
Accessibility & contrast
On white
1.44
#E7D96E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.55
#E7D96E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D96E
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D96E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D96E | 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)
#EAD364
Deuteranopia (green-blind)
#EEDA73
Tritanopia (blue-blind)
#F6CCC1
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #e7d96e; /* rgb */ color: rgb(231, 217, 110); /* oklch */ color: oklch(87.5% 0.129 101.9);
Tailwind
colors: {
custom: {
50: '#f1e49a',
500: '#e7d96e',
950: '#000000',
},
}SCSS
$custom: #e7d96e; $custom-light: #f1e49a; $custom-dark: #000000;
JSON
{
"hex": "#e7d96e",
"rgb": {
"r": 231,
"g": 217,
"b": 110
},
"hsl": {
"h": 53.058,
"s": 71.598,
"l": 66.863
},
"oklch": {
"l": 0.87521,
"c": 0.12933,
"h": 101.9
},
"luminance": 0.6774
}Semantic roles & 50–950 ramp
primary
#E7D96E
secondary
#3E4DBB
accent
#28D412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F