#E4D372#E4D372
#E4D372 is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.1% C 0.120 H 99.6°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D372 |
|---|---|
| RGB | rgb(228, 211, 114) |
| HSL | hsl(51, 68%, 67%) |
| HSV | hsv(51, 50%, 89%) |
| CMYK | cmyk(0%, 7.5%, 50%, 10.6%) |
| CIE-LAB | lab(84.12, -6.66, 49.74) |
| CIE-LCH | lch(84.12, 50.18, 97.63°) |
| OKLab | oklab(86.08% -0.0199 0.1181) |
| OKLCH | oklch(86.08% 0.12 99.6) |
| XYZ | xyz(58.3282, 64.2995, 25.2549) |
| Luminance | 0.6430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.52
Sand (survey)
#E2CA76
ΔE00 3.43
Dull Yellow
#EEDC5B
ΔE00 4.41
Wheat (survey)
#FBDD7E
ΔE00 4.63
Khaki (CSS)
#F0E68C
ΔE00 4.69
Pale Gold
#FDDE6C
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D372 #7283E4
analogous
#E49A72 #E4D372 #BCE472
triadic
#E4D372 #72E4D3 #D372E4
tetradic
#E4D372 #72E49A #7283E4 #E472BC
square
#E4D372 #72E49A #7283E4 #E472BC
split-complementary
#E4D372 #72BCE4 #9A72E4
monochromatic
#B8A223 #DAC33F #E4D372 #EEE3A5 #F8F3D9
Accessibility & contrast
On white
1.52
#E4D372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.86
#E4D372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D372
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D372 | 1.00 | 1.52 | 13.86 | 13.86 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CE69
Deuteranopia (green-blind)
#E8D576
Tritanopia (blue-blind)
#F3C7BC
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e4d372; /* rgb */ color: rgb(228, 211, 114); /* oklch */ color: oklch(86.1% 0.120 99.6);
Tailwind
colors: {
custom: {
50: '#efe09d',
500: '#e4d372',
950: '#000000',
},
}SCSS
$custom: #e4d372; $custom-light: #efe09d; $custom-dark: #000000;
JSON
{
"hex": "#e4d372",
"rgb": {
"r": 228,
"g": 211,
"b": 114
},
"hsl": {
"h": 51.053,
"s": 67.857,
"l": 67.059
},
"oklch": {
"l": 0.86083,
"c": 0.11977,
"h": 99.6
},
"luminance": 0.64297
}Semantic roles & 50–950 ramp
primary
#E4D372
secondary
#4253B9
accent
#31D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F