#E7D86B#E7D86B
#E7D86B is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.3% C 0.131 H 101.6°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D86B |
|---|---|
| RGB | rgb(231, 216, 107) |
| HSL | hsl(53, 72%, 66%) |
| HSV | hsv(53, 54%, 91%) |
| CMYK | cmyk(0%, 6.5%, 53.7%, 9.4%) |
| CIE-LAB | lab(85.59, -8.56, 54.84) |
| CIE-LCH | lch(85.59, 55.50, 98.87°) |
| OKLab | oklab(87.28% -0.0263 0.1285) |
| OKLCH | oklch(87.28% 0.131 101.6) |
| XYZ | xyz(60.1667, 67.1644, 23.7018) |
| Luminance | 0.6716 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.65
Sandy
#F1DA7A
ΔE00 3.05
Sand Yellow
#FCE166
ΔE00 4.25
Khaki (CSS)
#F0E68C
ΔE00 4.44
Yellow Tan
#FFE36E
ΔE00 4.56
Pale Gold
#FDDE6C
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D86B #6B7AE7
analogous
#E79A6B #E7D86B #B8E76B
triadic
#E7D86B #6BE7D8 #D86BE7
tetradic
#E7D86B #6BE79A #6B7AE7 #E76BB8
square
#E7D86B #6BE79A #6B7AE7 #E76BB8
split-complementary
#E7D86B #6BB8E7 #9A6BE7
monochromatic
#BAA71E #DECA36 #E7D86B #F0E6A0 #F8F4D4
Accessibility & contrast
On white
1.46
#E7D86B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.43
#E7D86B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D86B
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D86B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D86B | 1.00 | 1.46 | 14.43 | 14.43 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D261
Deuteranopia (green-blind)
#EED970
Tritanopia (blue-blind)
#F6CBBF
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e7d86b; /* rgb */ color: rgb(231, 216, 107); /* oklch */ color: oklch(87.3% 0.131 101.6);
Tailwind
colors: {
custom: {
50: '#f1e398',
500: '#e7d86b',
950: '#000000',
},
}SCSS
$custom: #e7d86b; $custom-light: #f1e398; $custom-dark: #000000;
JSON
{
"hex": "#e7d86b",
"rgb": {
"r": 231,
"g": 216,
"b": 107
},
"hsl": {
"h": 52.742,
"s": 72.093,
"l": 66.275
},
"oklch": {
"l": 0.8728,
"c": 0.13119,
"h": 101.6
},
"luminance": 0.67162
}Semantic roles & 50–950 ramp
primary
#E7D86B
secondary
#3D4CB9
accent
#29D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F