#E1D172#E1D172
#E1D172 is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.4% C 0.118 H 99.9°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #E1D172 |
|---|---|
| RGB | rgb(225, 209, 114) |
| HSL | hsl(51, 65%, 66%) |
| HSV | hsv(51, 49%, 88%) |
| CMYK | cmyk(0%, 7.1%, 49.3%, 11.8%) |
| CIE-LAB | lab(83.35, -6.86, 48.75) |
| CIE-LCH | lch(83.35, 49.23, 98.01°) |
| OKLab | oklab(85.41% -0.0203 0.116) |
| OKLCH | oklch(85.41% 0.118 99.9) |
| XYZ | xyz(56.8907, 62.8254, 25.0461) |
| Luminance | 0.6282 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.06
Sand (survey)
#E2CA76
ΔE00 3.24
Dull Yellow
#EEDC5B
ΔE00 4.90
Khaki (CSS)
#F0E68C
ΔE00 4.98
Wheat (survey)
#FBDD7E
ΔE00 5.13
Light Mustard
#F7D560
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E1D172 #7282E1
analogous
#E19A72 #E1D172 #BAE172
triadic
#E1D172 #72E1D1 #D172E1
tetradic
#E1D172 #72E19A #7282E1 #E172BA
square
#E1D172 #72E19A #7282E1 #E172BA
split-complementary
#E1D172 #72BAE1 #9A72E1
monochromatic
#B39E26 #D6C140 #E1D172 #ECE1A4 #F6F2D7
Accessibility & contrast
On white
1.55
#E1D172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.56
#E1D172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E1D172
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E1D172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E1D172 | 1.00 | 1.55 | 13.56 | 13.56 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CC6A
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#EFC5BB
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e1d172; /* rgb */ color: rgb(225, 209, 114); /* oklch */ color: oklch(85.4% 0.118 99.9);
Tailwind
colors: {
custom: {
50: '#ecde9c',
500: '#e1d172',
950: '#000000',
},
}SCSS
$custom: #e1d172; $custom-light: #ecde9c; $custom-dark: #000000;
JSON
{
"hex": "#e1d172",
"rgb": {
"r": 225,
"g": 209,
"b": 114
},
"hsl": {
"h": 51.351,
"s": 64.912,
"l": 66.471
},
"oklch": {
"l": 0.85411,
"c": 0.11774,
"h": 99.9
},
"luminance": 0.62823
}Semantic roles & 50–950 ramp
primary
#E1D172
secondary
#4354B4
accent
#33CD19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F