#E7D866#E7D866
#E7D866 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.136 H 101.9°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D866 |
|---|---|
| RGB | rgb(231, 216, 102) |
| HSL | hsl(53, 73%, 65%) |
| HSV | hsv(53, 56%, 91%) |
| CMYK | cmyk(0%, 6.5%, 55.8%, 9.4%) |
| CIE-LAB | lab(85.54, -8.95, 57.07) |
| CIE-LCH | lch(85.54, 57.77, 98.91°) |
| OKLab | oklab(87.22% -0.0279 0.1328) |
| OKLCH | oklch(87.22% 0.136 101.9) |
| XYZ | xyz(59.9112, 67.0622, 22.3562) |
| Luminance | 0.6706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.12
Sandy
#F1DA7A
ΔE00 3.48
Sand Yellow
#FCE166
ΔE00 4.07
Yellow Tan
#FFE36E
ΔE00 4.51
Pale Gold
#FDDE6C
ΔE00 4.70
Sandy Yellow
#FDEE73
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D866 #6675E7
analogous
#E79766 #E7D866 #B6E766
triadic
#E7D866 #66E7D8 #D866E7
tetradic
#E7D866 #66E797 #6675E7 #E766B6
square
#E7D866 #66E797 #6675E7 #E766B6
split-complementary
#E7D866 #66B6E7 #9766E7
monochromatic
#B6A41D #DFCB31 #E7D866 #EFE59B #F8F3D0
Accessibility & contrast
On white
1.46
#E7D866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.41
#E7D866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D866
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D866 | 1.00 | 1.46 | 14.41 | 14.41 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D25B
Deuteranopia (green-blind)
#EED96C
Tritanopia (blue-blind)
#F7CBBF
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e7d866; /* rgb */ color: rgb(231, 216, 102); /* oklch */ color: oklch(87.2% 0.136 101.9);
Tailwind
colors: {
custom: {
50: '#f1e395',
500: '#e7d866',
950: '#000000',
},
}SCSS
$custom: #e7d866; $custom-light: #f1e395; $custom-dark: #000000;
JSON
{
"hex": "#e7d866",
"rgb": {
"r": 231,
"g": 216,
"b": 102
},
"hsl": {
"h": 53.023,
"s": 72.881,
"l": 65.294
},
"oklch": {
"l": 0.87223,
"c": 0.13573,
"h": 101.9
},
"luminance": 0.6706
}Semantic roles & 50–950 ramp
primary
#E7D866
secondary
#3B49B6
accent
#27D511
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F