#E8D172#E8D172
#E8D172 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.118 H 96.1°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D172 |
|---|---|
| RGB | rgb(232, 209, 114) |
| HSL | hsl(48, 72%, 68%) |
| HSV | hsv(48, 51%, 91%) |
| CMYK | cmyk(0%, 9.9%, 50.9%, 9%) |
| CIE-LAB | lab(83.95, -4.02, 49.62) |
| CIE-LCH | lch(83.95, 49.78, 94.63°) |
| OKLab | oklab(86.03% -0.0125 0.1178) |
| OKLCH | oklch(86.03% 0.118 96.1) |
| XYZ | xyz(59.1184, 63.9741, 25.1505) |
| Luminance | 0.6397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.08
Sand (survey)
#E2CA76
ΔE00 2.34
Wheat (survey)
#FBDD7E
ΔE00 3.60
Light Mustard
#F7D560
ΔE00 4.08
Pale Gold
#FDDE6C
ΔE00 4.42
Maize
#F4D054
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D172 #7289E8
analogous
#E89672 #E8D172 #C4E872
triadic
#E8D172 #72E8D1 #D172E8
tetradic
#E8D172 #72E896 #7289E8 #E872C4
square
#E8D172 #72E896 #7289E8 #E872C4
split-complementary
#E8D172 #72C4E8 #9672E8
monochromatic
#C0A11F #DFC03D #E8D172 #F1E2A7 #F9F3DB
Accessibility & contrast
On white
1.52
#E8D172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.79
#E8D172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D172
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D172 | 1.00 | 1.52 | 13.79 | 13.79 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CD6A
Deuteranopia (green-blind)
#E8D576
Tritanopia (blue-blind)
#F7C4BB
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e8d172; /* rgb */ color: rgb(232, 209, 114); /* oklch */ color: oklch(86.0% 0.118 96.1);
Tailwind
colors: {
custom: {
50: '#f1de9d',
500: '#e8d172',
950: '#000000',
},
}SCSS
$custom: #e8d172; $custom-light: #f1de9d; $custom-dark: #000000;
JSON
{
"hex": "#e8d172",
"rgb": {
"r": 232,
"g": 209,
"b": 114
},
"hsl": {
"h": 48.305,
"s": 71.951,
"l": 67.843
},
"oklch": {
"l": 0.86031,
"c": 0.11844,
"h": 96.1
},
"luminance": 0.63972
}Semantic roles & 50–950 ramp
primary
#E8D172
secondary
#3F58BF
accent
#37D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F