#E8D562#E8D562
#E8D562 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.137 H 100.0°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D562 |
|---|---|
| RGB | rgb(232, 213, 98) |
| HSL | hsl(51, 74%, 65%) |
| HSV | hsv(51, 58%, 91%) |
| CMYK | cmyk(0%, 8.2%, 57.8%, 9%) |
| CIE-LAB | lab(84.81, -7.32, 58.07) |
| CIE-LCH | lch(84.81, 58.53, 97.18°) |
| OKLab | oklab(86.65% -0.0238 0.1345) |
| OKLCH | oklch(86.65% 0.137 100) |
| XYZ | xyz(59.2798, 65.6285, 21.0979) |
| Luminance | 0.6563 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.19
Sandy
#F1DA7A
ΔE00 3.22
Sand Yellow
#FCE166
ΔE00 3.71
Light Mustard
#F7D560
ΔE00 4.06
Pale Gold
#FDDE6C
ΔE00 4.08
Yellow Tan
#FFE36E
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D562 #6275E8
analogous
#E89262 #E8D562 #B8E862
triadic
#E8D562 #62E8D5 #D562E8
tetradic
#E8D562 #62E892 #6275E8 #E862B8
square
#E8D562 #62E892 #6275E8 #E862B8
split-complementary
#E8D562 #62B8E8 #9262E8
monochromatic
#B59F1B #E0C72D #E8D562 #F0E397 #F8F2CD
Accessibility & contrast
On white
1.49
#E8D562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.13
#E8D562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D562
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D562 | 1.00 | 1.49 | 14.13 | 14.13 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#ECD768
Tritanopia (blue-blind)
#F8C7BC
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e8d562; /* rgb */ color: rgb(232, 213, 98); /* oklch */ color: oklch(86.7% 0.137 100.0);
Tailwind
colors: {
custom: {
50: '#f2e192',
500: '#e8d562',
950: '#000000',
},
}SCSS
$custom: #e8d562; $custom-light: #f2e192; $custom-dark: #000000;
JSON
{
"hex": "#e8d562",
"rgb": {
"r": 232,
"g": 213,
"b": 98
},
"hsl": {
"h": 51.493,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.86652,
"c": 0.13656,
"h": 100
},
"luminance": 0.65626
}Semantic roles & 50–950 ramp
primary
#E8D562
secondary
#394BB5
accent
#2BD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F