#E7D76B#E7D76B
#E7D76B is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.1% C 0.130 H 101.0°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D76B |
|---|---|
| RGB | rgb(231, 215, 107) |
| HSL | hsl(52, 72%, 66%) |
| HSV | hsv(52, 54%, 91%) |
| CMYK | cmyk(0%, 6.9%, 53.7%, 9.4%) |
| CIE-LAB | lab(85.33, -8.06, 54.54) |
| CIE-LCH | lch(85.33, 55.13, 98.40°) |
| OKLab | oklab(87.08% -0.0248 0.1279) |
| OKLCH | oklch(87.08% 0.13 101) |
| XYZ | xyz(59.9112, 66.6535, 23.6166) |
| Luminance | 0.6665 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.76
Sandy
#F1DA7A
ΔE00 2.84
Sand Yellow
#FCE166
ΔE00 4.22
Yellow Tan
#FFE36E
ΔE00 4.52
Pale Gold
#FDDE6C
ΔE00 4.56
Khaki (CSS)
#F0E68C
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D76B #6B7BE7
analogous
#E7996B #E7D76B #B9E76B
triadic
#E7D76B #6BE7D7 #D76BE7
tetradic
#E7D76B #6BE799 #6B7BE7 #E76BB9
square
#E7D76B #6BE799 #6B7BE7 #E76BB9
split-complementary
#E7D76B #6BB9E7 #996BE7
monochromatic
#BAA51E #DEC936 #E7D76B #F0E5A0 #F8F3D4
Accessibility & contrast
On white
1.47
#E7D76B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.33
#E7D76B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D76B
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D76B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D76B | 1.00 | 1.47 | 14.33 | 14.33 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D161
Deuteranopia (green-blind)
#EDD870
Tritanopia (blue-blind)
#F6CABF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e7d76b; /* rgb */ color: rgb(231, 215, 107); /* oklch */ color: oklch(87.1% 0.130 101.0);
Tailwind
colors: {
custom: {
50: '#f1e398',
500: '#e7d76b',
950: '#000000',
},
}SCSS
$custom: #e7d76b; $custom-light: #f1e398; $custom-dark: #000000;
JSON
{
"hex": "#e7d76b",
"rgb": {
"r": 231,
"g": 215,
"b": 107
},
"hsl": {
"h": 52.258,
"s": 72.093,
"l": 66.275
},
"oklch": {
"l": 0.87075,
"c": 0.13027,
"h": 101
},
"luminance": 0.66651
}Semantic roles & 50–950 ramp
primary
#E7D76B
secondary
#3D4DB9
accent
#2AD411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F