#E4C770#E4C770
#E4C770 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.6% C 0.112 H 91.4°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #E4C770 |
|---|---|
| RGB | rgb(228, 199, 112) |
| HSL | hsl(45, 68%, 67%) |
| HSV | hsv(45, 51%, 89%) |
| CMYK | cmyk(0%, 12.7%, 50.9%, 10.6%) |
| CIE-LAB | lab(81.02, -0.68, 46.97) |
| CIE-LCH | lch(81.02, 46.97, 90.83°) |
| OKLab | oklab(83.63% -0.0028 0.1118) |
| OKLCH | oklch(83.63% 0.112 91.4) |
| XYZ | xyz(55.3450, 58.5132, 23.7050) |
| Luminance | 0.5851 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.56
Sandy
#F1DA7A
ΔE00 4.78
Wheat (survey)
#FBDD7E
ΔE00 5.23
Light Mustard
#F7D560
ΔE00 5.28
Maize
#F4D054
ΔE00 5.42
Tan (survey)
#D1B26F
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4C770 #708DE4
analogous
#E48D70 #E4C770 #C7E470
triadic
#E4C770 #70E4C7 #C770E4
tetradic
#E4C770 #70E48D #708DE4 #E470C7
square
#E4C770 #70E48D #708DE4 #E470C7
split-complementary
#E4C770 #70C7E4 #8D70E4
monochromatic
#B79223 #DAB33D #E4C770 #EEDBA3 #F7EFD7
Accessibility & contrast
On white
1.65
#E4C770 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.70
#E4C770 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4C770
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4C770 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4C770 | 1.00 | 1.65 | 12.70 | 12.70 |
| #FFFFFF | 1.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C469
Deuteranopia (green-blind)
#DFCD73
Tritanopia (blue-blind)
#F4BBB2
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #e4c770; /* rgb */ color: rgb(228, 199, 112); /* oklch */ color: oklch(83.6% 0.112 91.4);
Tailwind
colors: {
custom: {
50: '#efd79b',
500: '#e4c770',
950: '#000000',
},
}SCSS
$custom: #e4c770; $custom-light: #efd79b; $custom-dark: #000000;
JSON
{
"hex": "#e4c770",
"rgb": {
"r": 228,
"g": 199,
"b": 112
},
"hsl": {
"h": 45,
"s": 68.235,
"l": 66.667
},
"oklch": {
"l": 0.83625,
"c": 0.11187,
"h": 91.4
},
"luminance": 0.58511
}Semantic roles & 50–950 ramp
primary
#E4C770
secondary
#415EB7
accent
#44D015
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F