#E4D579#E4D579
#E4D579 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.6% C 0.115 H 100.2°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D579 |
|---|---|
| RGB | rgb(228, 213, 121) |
| HSL | hsl(52, 66%, 68%) |
| HSV | hsv(52, 47%, 89%) |
| CMYK | cmyk(0%, 6.6%, 46.9%, 10.6%) |
| CIE-LAB | lab(84.72, -7.05, 47.08) |
| CIE-LCH | lch(84.72, 47.61, 98.51°) |
| OKLab | oklab(86.59% -0.0203 0.1128) |
| OKLCH | oklch(86.59% 0.115 100.2) |
| XYZ | xyz(59.2419, 65.4650, 27.6008) |
| Luminance | 0.6546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.68
Sand (survey)
#E2CA76
ΔE00 3.68
Khaki (CSS)
#F0E68C
ΔE00 3.95
Wheat (survey)
#FBDD7E
ΔE00 4.81
Dull Yellow
#EEDC5B
ΔE00 5.01
Pale Gold
#FDDE6C
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D579 #7988E4
analogous
#E49F79 #E4D579 #BDE479
triadic
#E4D579 #79E4D5 #D579E4
tetradic
#E4D579 #79E49F #7988E4 #E479BD
square
#E4D579 #79E49F #7988E4 #E479BD
split-complementary
#E4D579 #79BDE4 #9F79E4
monochromatic
#BDA726 #DAC546 #E4D579 #EEE5AC #F9F5DF
Accessibility & contrast
On white
1.49
#E4D579 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.09
#E4D579 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D579
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D579 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D579 | 1.00 | 1.49 | 14.09 | 14.09 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4D071
Deuteranopia (green-blind)
#E9D67D
Tritanopia (blue-blind)
#F2C9BF
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e4d579; /* rgb */ color: rgb(228, 213, 121); /* oklch */ color: oklch(86.6% 0.115 100.2);
Tailwind
colors: {
custom: {
50: '#eee1a1',
500: '#e4d579',
950: '#000000',
},
}SCSS
$custom: #e4d579; $custom-light: #eee1a1; $custom-dark: #000000;
JSON
{
"hex": "#e4d579",
"rgb": {
"r": 228,
"g": 213,
"b": 121
},
"hsl": {
"h": 51.589,
"s": 66.46,
"l": 68.431
},
"oklch": {
"l": 0.86587,
"c": 0.11459,
"h": 100.2
},
"luminance": 0.65463
}Semantic roles & 50–950 ramp
primary
#E4D579
secondary
#4656BB
accent
#31CE17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480