#E7D86C#E7D86C
#E7D86C is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.3% C 0.130 H 101.5°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D86C |
|---|---|
| RGB | rgb(231, 216, 108) |
| HSL | hsl(53, 72%, 66%) |
| HSV | hsv(53, 53%, 91%) |
| CMYK | cmyk(0%, 6.5%, 53.2%, 9.4%) |
| CIE-LAB | lab(85.60, -8.48, 54.39) |
| CIE-LCH | lch(85.60, 55.05, 98.86°) |
| OKLab | oklab(87.29% -0.0259 0.1277) |
| OKLCH | oklch(87.29% 0.13 101.5) |
| XYZ | xyz(60.2196, 67.1855, 23.9805) |
| Luminance | 0.6718 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.77
Sandy
#F1DA7A
ΔE00 2.97
Sand Yellow
#FCE166
ΔE00 4.30
Khaki (CSS)
#F0E68C
ΔE00 4.35
Yellow Tan
#FFE36E
ΔE00 4.59
Pale Gold
#FDDE6C
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D86C #6C7BE7
analogous
#E79B6C #E7D86C #B9E76C
triadic
#E7D86C #6CE7D8 #D86CE7
tetradic
#E7D86C #6CE79B #6C7BE7 #E76CB9
square
#E7D86C #6CE79B #6C7BE7 #E76CB9
split-complementary
#E7D86C #6CB9E7 #9B6CE7
monochromatic
#BAA71E #DECA37 #E7D86C #F0E6A1 #F8F4D5
Accessibility & contrast
On white
1.45
#E7D86C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.44
#E7D86C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D86C
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D86C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D86C | 1.00 | 1.45 | 14.44 | 14.44 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D262
Deuteranopia (green-blind)
#EDD971
Tritanopia (blue-blind)
#F6CBC0
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e7d86c; /* rgb */ color: rgb(231, 216, 108); /* oklch */ color: oklch(87.3% 0.130 101.5);
Tailwind
colors: {
custom: {
50: '#f1e399',
500: '#e7d86c',
950: '#000000',
},
}SCSS
$custom: #e7d86c; $custom-light: #f1e399; $custom-dark: #000000;
JSON
{
"hex": "#e7d86c",
"rgb": {
"r": 231,
"g": 216,
"b": 108
},
"hsl": {
"h": 52.683,
"s": 71.93,
"l": 66.471
},
"oklch": {
"l": 0.87292,
"c": 0.13026,
"h": 101.5
},
"luminance": 0.67183
}Semantic roles & 50–950 ramp
primary
#E7D86C
secondary
#3D4DBA
accent
#29D412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F