#E8D372#E8D372
#E8D372 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.4% C 0.120 H 97.4°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D372 |
|---|---|
| RGB | rgb(232, 211, 114) |
| HSL | hsl(49, 72%, 68%) |
| HSV | hsv(49, 51%, 91%) |
| CMYK | cmyk(0%, 9.1%, 50.9%, 9%) |
| CIE-LAB | lab(84.46, -5.04, 50.23) |
| CIE-LCH | lch(84.46, 50.49, 95.73°) |
| OKLab | oklab(86.44% -0.0155 0.1191) |
| OKLCH | oklch(86.44% 0.12 97.4) |
| XYZ | xyz(59.6122, 64.9616, 25.3151) |
| Luminance | 0.6496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.81
Sand (survey)
#E2CA76
ΔE00 2.96
Wheat (survey)
#FBDD7E
ΔE00 3.70
Light Mustard
#F7D560
ΔE00 4.23
Pale Gold
#FDDE6C
ΔE00 4.31
Dull Yellow
#EEDC5B
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D372 #7287E8
analogous
#E89872 #E8D372 #C2E872
triadic
#E8D372 #72E8D3 #D372E8
tetradic
#E8D372 #72E898 #7287E8 #E872C2
square
#E8D372 #72E898 #7287E8 #E872C2
split-complementary
#E8D372 #72C2E8 #9872E8
monochromatic
#C0A41F #DFC33D #E8D372 #F1E3A7 #F9F4DB
Accessibility & contrast
On white
1.50
#E8D372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.99
#E8D372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D372
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D372 | 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)
#E4CF69
Deuteranopia (green-blind)
#E9D676
Tritanopia (blue-blind)
#F7C6BC
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e8d372; /* rgb */ color: rgb(232, 211, 114); /* oklch */ color: oklch(86.4% 0.120 97.4);
Tailwind
colors: {
custom: {
50: '#f1e09d',
500: '#e8d372',
950: '#000000',
},
}SCSS
$custom: #e8d372; $custom-light: #f1e09d; $custom-dark: #000000;
JSON
{
"hex": "#e8d372",
"rgb": {
"r": 232,
"g": 211,
"b": 114
},
"hsl": {
"h": 49.322,
"s": 71.951,
"l": 67.843
},
"oklch": {
"l": 0.86436,
"c": 0.12013,
"h": 97.4
},
"luminance": 0.64959
}Semantic roles & 50–950 ramp
primary
#E8D372
secondary
#3F56BF
accent
#34D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F