#E8D662#E8D662
#E8D662 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.9% C 0.137 H 100.6°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D662 |
|---|---|
| RGB | rgb(232, 214, 98) |
| HSL | hsl(52, 74%, 65%) |
| HSV | hsv(52, 58%, 91%) |
| CMYK | cmyk(0%, 7.8%, 57.8%, 9%) |
| CIE-LAB | lab(85.06, -7.82, 58.36) |
| CIE-LCH | lch(85.06, 58.88, 97.63°) |
| OKLab | oklab(86.86% -0.0252 0.1351) |
| OKLCH | oklch(86.86% 0.137 100.6) |
| XYZ | xyz(59.5321, 66.1331, 21.1820) |
| Luminance | 0.6613 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.96
Sandy
#F1DA7A
ΔE00 3.35
Sand Yellow
#FCE166
ΔE00 3.70
Pale Gold
#FDDE6C
ΔE00 4.19
Yellow Tan
#FFE36E
ΔE00 4.21
Light Mustard
#F7D560
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D662 #6274E8
analogous
#E89362 #E8D662 #B7E862
triadic
#E8D662 #62E8D6 #D662E8
tetradic
#E8D662 #62E893 #6274E8 #E862B7
square
#E8D662 #62E893 #6274E8 #E862B7
split-complementary
#E8D662 #62B7E8 #9362E8
monochromatic
#B5A01B #E0C82D #E8D662 #F0E497 #F8F2CD
Accessibility & contrast
On white
1.48
#E8D662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.23
#E8D662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D662
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D662 | 1.00 | 1.48 | 14.23 | 14.23 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D056
Deuteranopia (green-blind)
#EDD868
Tritanopia (blue-blind)
#F8C8BC
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e8d662; /* rgb */ color: rgb(232, 214, 98); /* oklch */ color: oklch(86.9% 0.137 100.6);
Tailwind
colors: {
custom: {
50: '#f2e292',
500: '#e8d662',
950: '#000000',
},
}SCSS
$custom: #e8d662; $custom-light: #f2e292; $custom-dark: #000000;
JSON
{
"hex": "#e8d662",
"rgb": {
"r": 232,
"g": 214,
"b": 98
},
"hsl": {
"h": 51.94,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.86857,
"c": 0.13744,
"h": 100.6
},
"luminance": 0.66131
}Semantic roles & 50–950 ramp
primary
#E8D662
secondary
#394AB5
accent
#2AD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F