#E7D76F#E7D76F
#E7D76F is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.1% C 0.127 H 100.7°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D76F |
|---|---|
| RGB | rgb(231, 215, 111) |
| HSL | hsl(52, 71%, 67%) |
| HSV | hsv(52, 52%, 91%) |
| CMYK | cmyk(0%, 6.9%, 51.9%, 9.4%) |
| CIE-LAB | lab(85.37, -7.73, 52.72) |
| CIE-LCH | lch(85.37, 53.28, 98.34°) |
| OKLab | oklab(87.12% -0.0235 0.1243) |
| OKLCH | oklch(87.12% 0.127 100.7) |
| XYZ | xyz(60.1266, 66.7397, 24.7507) |
| Luminance | 0.6674 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.53
Dull Yellow
#EEDC5B
ΔE00 3.24
Khaki (CSS)
#F0E68C
ΔE00 4.26
Sand Yellow
#FCE166
ΔE00 4.44
Pale Gold
#FDDE6C
ΔE00 4.63
Yellow Tan
#FFE36E
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D76F #6F7FE7
analogous
#E79B6F #E7D76F #BBE76F
triadic
#E7D76F #6FE7D7 #D76FE7
tetradic
#E7D76F #6FE79B #6F7FE7 #E76FBB
square
#E7D76F #6FE79B #6F7FE7 #E76FBB
split-complementary
#E7D76F #6FBBE7 #9B6FE7
monochromatic
#BCA71F #DEC83B #E7D76F #F0E6A3 #F8F4D8
Accessibility & contrast
On white
1.46
#E7D76F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.35
#E7D76F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D76F
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D76F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D76F | 1.00 | 1.46 | 14.35 | 14.35 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D265
Deuteranopia (green-blind)
#ECD874
Tritanopia (blue-blind)
#F6CABF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e7d76f; /* rgb */ color: rgb(231, 215, 111); /* oklch */ color: oklch(87.1% 0.127 100.7);
Tailwind
colors: {
custom: {
50: '#f1e39b',
500: '#e7d76f',
950: '#000000',
},
}SCSS
$custom: #e7d76f; $custom-light: #f1e39b; $custom-dark: #000000;
JSON
{
"hex": "#e7d76f",
"rgb": {
"r": 231,
"g": 215,
"b": 111
},
"hsl": {
"h": 52,
"s": 71.429,
"l": 67.059
},
"oklch": {
"l": 0.87124,
"c": 0.12652,
"h": 100.7
},
"luminance": 0.66737
}Semantic roles & 50–950 ramp
primary
#E7D76F
secondary
#3F4FBC
accent
#2CD312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F