#E8D862#E8D862
#E8D862 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.3% C 0.139 H 101.6°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D862 |
|---|---|
| RGB | rgb(232, 216, 98) |
| HSL | hsl(53, 74%, 65%) |
| HSV | hsv(53, 58%, 91%) |
| CMYK | cmyk(0%, 6.9%, 57.8%, 9%) |
| CIE-LAB | lab(85.58, -8.83, 58.94) |
| CIE-LCH | lch(85.58, 59.60, 98.52°) |
| OKLab | oklab(87.27% -0.0281 0.1364) |
| OKLCH | oklch(87.27% 0.139 101.6) |
| XYZ | xyz(60.0413, 67.1517, 21.3518) |
| Luminance | 0.6715 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.63
Sandy
#F1DA7A
ΔE00 3.69
Sand Yellow
#FCE166
ΔE00 3.77
Yellow Tan
#FFE36E
ΔE00 4.30
Pale Gold
#FDDE6C
ΔE00 4.50
Light Gold
#FDDC5C
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D862 #6272E8
analogous
#E89562 #E8D862 #B5E862
triadic
#E8D862 #62E8D8 #D862E8
tetradic
#E8D862 #62E895 #6272E8 #E862B5
square
#E8D862 #62E895 #6272E8 #E862B5
split-complementary
#E8D862 #62B5E8 #9562E8
monochromatic
#B5A31B #E0CB2D #E8D862 #F0E597 #F8F3CD
Accessibility & contrast
On white
1.46
#E8D862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.43
#E8D862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D862
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D862 | 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)
#EAD256
Deuteranopia (green-blind)
#EFD968
Tritanopia (blue-blind)
#F8CBBE
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e8d862; /* rgb */ color: rgb(232, 216, 98); /* oklch */ color: oklch(87.3% 0.139 101.6);
Tailwind
colors: {
custom: {
50: '#f2e393',
500: '#e8d862',
950: '#000000',
},
}SCSS
$custom: #e8d862; $custom-light: #f2e393; $custom-dark: #000000;
JSON
{
"hex": "#e8d862",
"rgb": {
"r": 232,
"g": 216,
"b": 98
},
"hsl": {
"h": 52.836,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.87266,
"c": 0.13922,
"h": 101.6
},
"luminance": 0.67149
}Semantic roles & 50–950 ramp
primary
#E8D862
secondary
#3948B5
accent
#27D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F