#E4D770#E4D770
#E4D770 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.125 H 102.2°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D770 |
|---|---|
| RGB | rgb(228, 215, 112) |
| HSL | hsl(53, 68%, 67%) |
| HSV | hsv(53, 51%, 89%) |
| CMYK | cmyk(0%, 5.7%, 50.9%, 10.6%) |
| CIE-LAB | lab(85.13, -8.86, 51.90) |
| CIE-LCH | lch(85.13, 52.65, 99.69°) |
| OKLab | oklab(86.88% -0.0264 0.1227) |
| OKLCH | oklch(86.88% 0.125 102.2) |
| XYZ | xyz(59.2217, 66.2667, 24.9973) |
| Luminance | 0.6626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.19
Dull Yellow
#EEDC5B
ΔE00 3.64
Khaki (CSS)
#F0E68C
ΔE00 4.04
Sand (survey)
#E2CA76
ΔE00 4.99
Sand Yellow
#FCE166
ΔE00 5.13
Yellow Tan
#FFE36E
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D770 #707DE4
analogous
#E49D70 #E4D770 #B7E470
triadic
#E4D770 #70E4D7 #D770E4
tetradic
#E4D770 #70E49D #707DE4 #E470B7
square
#E4D770 #70E49D #707DE4 #E470B7
split-complementary
#E4D770 #70B7E4 #9D70E4
monochromatic
#B7A623 #DAC93D #E4D770 #EEE5A3 #F7F4D7
Accessibility & contrast
On white
1.47
#E4D770 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.25
#E4D770 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D770
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D770 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D770 | 1.00 | 1.47 | 14.25 | 14.25 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D167
Deuteranopia (green-blind)
#EBD775
Tritanopia (blue-blind)
#F3CBBF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e4d770; /* rgb */ color: rgb(228, 215, 112); /* oklch */ color: oklch(86.9% 0.125 102.2);
Tailwind
colors: {
custom: {
50: '#efe39b',
500: '#e4d770',
950: '#000000',
},
}SCSS
$custom: #e4d770; $custom-light: #efe39b; $custom-dark: #000000;
JSON
{
"hex": "#e4d770",
"rgb": {
"r": 228,
"g": 215,
"b": 112
},
"hsl": {
"h": 53.276,
"s": 68.235,
"l": 66.667
},
"oklch": {
"l": 0.86877,
"c": 0.12548,
"h": 102.2
},
"luminance": 0.66265
}Semantic roles & 50–950 ramp
primary
#E4D770
secondary
#414EB7
accent
#2AD015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F