#E2D372#E2D372
#E2D372 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.9% C 0.120 H 100.6°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D372 |
|---|---|
| RGB | rgb(226, 211, 114) |
| HSL | hsl(52, 66%, 67%) |
| HSV | hsv(52, 50%, 89%) |
| CMYK | cmyk(0%, 6.6%, 49.6%, 11.4%) |
| CIE-LAB | lab(83.95, -7.47, 49.50) |
| CIE-LCH | lch(83.95, 50.06, 98.58°) |
| OKLab | oklab(85.91% -0.0221 0.1176) |
| OKLCH | oklch(85.91% 0.12 100.6) |
| XYZ | xyz(57.6972, 63.9742, 25.2253) |
| Luminance | 0.6397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.97
Sand (survey)
#E2CA76
ΔE00 3.77
Dull Yellow
#EEDC5B
ΔE00 4.51
Khaki (CSS)
#F0E68C
ΔE00 4.57
Wheat (survey)
#FBDD7E
ΔE00 5.13
Pale Gold
#FDDE6C
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D372 #7281E2
analogous
#E29B72 #E2D372 #B9E272
triadic
#E2D372 #72E2D3 #D372E2
tetradic
#E2D372 #72E29B #7281E2 #E272B9
square
#E2D372 #72E29B #7281E2 #E272B9
split-complementary
#E2D372 #72B9E2 #9B72E2
monochromatic
#B4A125 #D8C33F #E2D372 #ECE3A5 #F7F3D8
Accessibility & contrast
On white
1.52
#E2D372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.79
#E2D372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D372
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D372 | 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)
#E3CE6A
Deuteranopia (green-blind)
#E7D476
Tritanopia (blue-blind)
#F0C7BC
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e2d372; /* rgb */ color: rgb(226, 211, 114); /* oklch */ color: oklch(85.9% 0.120 100.6);
Tailwind
colors: {
custom: {
50: '#ede09d',
500: '#e2d372',
950: '#000000',
},
}SCSS
$custom: #e2d372; $custom-light: #ede09d; $custom-dark: #000000;
JSON
{
"hex": "#e2d372",
"rgb": {
"r": 226,
"g": 211,
"b": 114
},
"hsl": {
"h": 51.964,
"s": 65.882,
"l": 66.667
},
"oklch": {
"l": 0.85909,
"c": 0.11966,
"h": 100.6
},
"luminance": 0.63972
}Semantic roles & 50–950 ramp
primary
#E2D372
secondary
#4352B5
accent
#30CE18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F