#E8D062#E8D062
#E8D062 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.6% C 0.132 H 97.1°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D062 |
|---|---|
| RGB | rgb(232, 208, 98) |
| HSL | hsl(49, 74%, 65%) |
| HSV | hsv(49, 58%, 91%) |
| CMYK | cmyk(0%, 10.3%, 57.8%, 9%) |
| CIE-LAB | lab(83.52, -4.78, 56.62) |
| CIE-LCH | lch(83.52, 56.82, 94.82°) |
| OKLab | oklab(85.64% -0.0165 0.1314) |
| OKLCH | oklch(85.64% 0.132 97.1) |
| XYZ | xyz(58.0415, 63.1520, 20.6852) |
| Luminance | 0.6315 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.10
Light Mustard
#F7D560
ΔE00 3.12
Maize
#F4D054
ΔE00 3.47
Dull Yellow
#EEDC5B
ΔE00 3.68
Pale Gold
#FDDE6C
ΔE00 3.92
Sand (survey)
#E2CA76
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D062 #627AE8
analogous
#E88D62 #E8D062 #BDE862
triadic
#E8D062 #62E8D0 #D062E8
tetradic
#E8D062 #62E88D #627AE8 #E862BD
square
#E8D062 #62E88D #627AE8 #E862BD
split-complementary
#E8D062 #62BDE8 #8D62E8
monochromatic
#B5991B #E0C02D #E8D062 #F0E097 #F8F0CD
Accessibility & contrast
On white
1.54
#E8D062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.63
#E8D062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D062
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D062 | 1.00 | 1.54 | 13.63 | 13.63 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#E9D467
Tritanopia (blue-blind)
#F8C2B8
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e8d062; /* rgb */ color: rgb(232, 208, 98); /* oklch */ color: oklch(85.6% 0.132 97.1);
Tailwind
colors: {
custom: {
50: '#f2de92',
500: '#e8d062',
950: '#000000',
},
}SCSS
$custom: #e8d062; $custom-light: #f2de92; $custom-dark: #000000;
JSON
{
"hex": "#e8d062",
"rgb": {
"r": 232,
"g": 208,
"b": 98
},
"hsl": {
"h": 49.254,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.85635,
"c": 0.13239,
"h": 97.1
},
"luminance": 0.63149
}Semantic roles & 50–950 ramp
primary
#E8D062
secondary
#394FB5
accent
#33D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F