#E8D566#E8D566
#E8D566 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.7% C 0.133 H 99.7°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D566 |
|---|---|
| RGB | rgb(232, 213, 102) |
| HSL | hsl(51, 74%, 65%) |
| HSV | hsv(51, 56%, 91%) |
| CMYK | cmyk(0%, 8.2%, 56%, 9%) |
| CIE-LAB | lab(84.85, -7.02, 56.30) |
| CIE-LCH | lch(84.85, 56.74, 97.11°) |
| OKLab | oklab(86.7% -0.0225 0.1312) |
| OKLCH | oklch(86.7% 0.133 99.7) |
| XYZ | xyz(59.4734, 65.7060, 22.1176) |
| Luminance | 0.6570 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.56
Sandy
#F1DA7A
ΔE00 2.82
Sand Yellow
#FCE166
ΔE00 3.83
Pale Gold
#FDDE6C
ΔE00 4.05
Light Mustard
#F7D560
ΔE00 4.08
Yellow Tan
#FFE36E
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D566 #6679E8
analogous
#E89466 #E8D566 #BAE866
triadic
#E8D566 #66E8D5 #D566E8
tetradic
#E8D566 #66E894 #6679E8 #E866BA
square
#E8D566 #66E894 #6679E8 #E866BA
split-complementary
#E8D566 #66BAE8 #9466E8
monochromatic
#B8A11C #E0C631 #E8D566 #F0E49B #F8F2D0
Accessibility & contrast
On white
1.49
#E8D566 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.14
#E8D566 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D566
14.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D566 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D566 | 1.00 | 1.49 | 14.14 | 14.14 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#ECD76B
Tritanopia (blue-blind)
#F8C8BC
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e8d566; /* rgb */ color: rgb(232, 213, 102); /* oklch */ color: oklch(86.7% 0.133 99.7);
Tailwind
colors: {
custom: {
50: '#f2e195',
500: '#e8d566',
950: '#000000',
},
}SCSS
$custom: #e8d566; $custom-light: #f2e195; $custom-dark: #000000;
JSON
{
"hex": "#e8d566",
"rgb": {
"r": 232,
"g": 213,
"b": 102
},
"hsl": {
"h": 51.231,
"s": 73.864,
"l": 65.49
},
"oklch": {
"l": 0.86696,
"c": 0.13306,
"h": 99.7
},
"luminance": 0.65704
}Semantic roles & 50–950 ramp
primary
#E8D566
secondary
#3A4DB8
accent
#2DD610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F