#E8D966#E8D966
#E8D966 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.5% C 0.137 H 101.9°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D966 |
|---|---|
| RGB | rgb(232, 217, 102) |
| HSL | hsl(53, 74%, 65%) |
| HSV | hsv(53, 56%, 91%) |
| CMYK | cmyk(0%, 6.5%, 56%, 9%) |
| CIE-LAB | lab(85.88, -9.04, 57.48) |
| CIE-LCH | lch(85.88, 58.19, 98.94°) |
| OKLab | oklab(87.52% -0.0283 0.1337) |
| OKLCH | oklch(87.52% 0.137 101.9) |
| XYZ | xyz(60.4919, 67.7431, 22.4571) |
| Luminance | 0.6774 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.93
Sandy
#F1DA7A
ΔE00 3.52
Sand Yellow
#FCE166
ΔE00 3.92
Yellow Tan
#FFE36E
ΔE00 4.36
Pale Gold
#FDDE6C
ΔE00 4.61
Sandy Yellow
#FDEE73
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D966 #6675E8
analogous
#E89866 #E8D966 #B6E866
triadic
#E8D966 #66E8D9 #D966E8
tetradic
#E8D966 #66E898 #6675E8 #E866B6
square
#E8D966 #66E898 #6675E8 #E866B6
split-complementary
#E8D966 #66B6E8 #9866E8
monochromatic
#B8A61C #E0CC31 #E8D966 #F0E69B #F8F3D0
Accessibility & contrast
On white
1.44
#E8D966 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.55
#E8D966 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D966
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D966 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D966 | 1.00 | 1.44 | 14.55 | 14.55 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD35A
Deuteranopia (green-blind)
#EFDA6C
Tritanopia (blue-blind)
#F8CCBF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #e8d966; /* rgb */ color: rgb(232, 217, 102); /* oklch */ color: oklch(87.5% 0.137 101.9);
Tailwind
colors: {
custom: {
50: '#f2e495',
500: '#e8d966',
950: '#000000',
},
}SCSS
$custom: #e8d966; $custom-light: #f2e495; $custom-dark: #000000;
JSON
{
"hex": "#e8d966",
"rgb": {
"r": 232,
"g": 217,
"b": 102
},
"hsl": {
"h": 53.077,
"s": 73.864,
"l": 65.49
},
"oklch": {
"l": 0.87515,
"c": 0.13665,
"h": 101.9
},
"luminance": 0.67741
}Semantic roles & 50–950 ramp
primary
#E8D966
secondary
#3A49B8
accent
#26D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F