#E4D471#E4D471
#E4D471 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.3% C 0.122 H 100.3°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D471 |
|---|---|
| RGB | rgb(228, 212, 113) |
| HSL | hsl(52, 68%, 67%) |
| HSV | hsv(52, 50%, 89%) |
| CMYK | cmyk(0%, 7%, 50.4%, 10.6%) |
| CIE-LAB | lab(84.37, -7.26, 50.51) |
| CIE-LCH | lch(84.37, 51.03, 98.17°) |
| OKLab | oklab(86.28% -0.0217 0.1197) |
| OKLCH | oklch(86.28% 0.122 100.3) |
| XYZ | xyz(58.5208, 64.7753, 25.0398) |
| Luminance | 0.6477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.64
Sand (survey)
#E2CA76
ΔE00 3.87
Dull Yellow
#EEDC5B
ΔE00 4.11
Khaki (CSS)
#F0E68C
ΔE00 4.51
Wheat (survey)
#FBDD7E
ΔE00 4.80
Pale Gold
#FDDE6C
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D471 #7181E4
analogous
#E49B71 #E4D471 #BBE471
triadic
#E4D471 #71E4D4 #D471E4
tetradic
#E4D471 #71E49B #7181E4 #E471BB
square
#E4D471 #71E49B #7181E4 #E471BB
split-complementary
#E4D471 #71BBE4 #9B71E4
monochromatic
#B8A323 #DAC43E #E4D471 #EEE4A4 #F8F3D8
Accessibility & contrast
On white
1.50
#E4D471 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.95
#E4D471 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D471
13.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D471 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D471 | 1.00 | 1.50 | 13.95 | 13.95 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CF68
Deuteranopia (green-blind)
#E9D575
Tritanopia (blue-blind)
#F3C8BD
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e4d471; /* rgb */ color: rgb(228, 212, 113); /* oklch */ color: oklch(86.3% 0.122 100.3);
Tailwind
colors: {
custom: {
50: '#efe19c',
500: '#e4d471',
950: '#000000',
},
}SCSS
$custom: #e4d471; $custom-light: #efe19c; $custom-dark: #000000;
JSON
{
"hex": "#e4d471",
"rgb": {
"r": 228,
"g": 212,
"b": 113
},
"hsl": {
"h": 51.652,
"s": 68.047,
"l": 66.863
},
"oklch": {
"l": 0.86275,
"c": 0.12167,
"h": 100.3
},
"luminance": 0.64773
}Semantic roles & 50–950 ramp
primary
#E4D471
secondary
#4152B8
accent
#2FD016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F