#E8D371#E8D371
#E8D371 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.4% C 0.121 H 97.5°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D371 |
|---|---|
| RGB | rgb(232, 211, 113) |
| HSL | hsl(49, 72%, 68%) |
| HSV | hsv(49, 51%, 91%) |
| CMYK | cmyk(0%, 9.1%, 51.3%, 9%) |
| CIE-LAB | lab(84.45, -5.13, 50.70) |
| CIE-LCH | lch(84.45, 50.96, 95.78°) |
| OKLab | oklab(86.42% -0.0158 0.1201) |
| OKLCH | oklch(86.42% 0.121 97.5) |
| XYZ | xyz(59.5556, 64.9389, 25.0170) |
| Luminance | 0.6494 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.84
Sand (survey)
#E2CA76
ΔE00 3.05
Wheat (survey)
#FBDD7E
ΔE00 3.73
Light Mustard
#F7D560
ΔE00 4.16
Pale Gold
#FDDE6C
ΔE00 4.25
Dull Yellow
#EEDC5B
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D371 #7186E8
analogous
#E89871 #E8D371 #C1E871
triadic
#E8D371 #71E8D3 #D371E8
tetradic
#E8D371 #71E898 #7186E8 #E871C1
square
#E8D371 #71E898 #7186E8 #E871C1
split-complementary
#E8D371 #71C1E8 #9871E8
monochromatic
#C0A31F #DFC33C #E8D371 #F1E3A6 #F9F4DA
Accessibility & contrast
On white
1.50
#E8D371 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.99
#E8D371 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D371
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D371 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D371 | 1.00 | 1.50 | 13.99 | 13.99 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CF68
Deuteranopia (green-blind)
#EAD675
Tritanopia (blue-blind)
#F7C6BC
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e8d371; /* rgb */ color: rgb(232, 211, 113); /* oklch */ color: oklch(86.4% 0.121 97.5);
Tailwind
colors: {
custom: {
50: '#f2e09c',
500: '#e8d371',
950: '#000000',
},
}SCSS
$custom: #e8d371; $custom-light: #f2e09c; $custom-dark: #000000;
JSON
{
"hex": "#e8d371",
"rgb": {
"r": 232,
"g": 211,
"b": 113
},
"hsl": {
"h": 49.412,
"s": 72.121,
"l": 67.647
},
"oklch": {
"l": 0.86423,
"c": 0.1211,
"h": 97.5
},
"luminance": 0.64937
}Semantic roles & 50–950 ramp
primary
#E8D371
secondary
#3F55BF
accent
#34D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F