#E8D477#E8D477
#E8D477 is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.116 H 97.5°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D477 |
|---|---|
| RGB | rgb(232, 212, 119) |
| HSL | hsl(49, 71%, 69%) |
| HSV | hsv(49, 49%, 91%) |
| CMYK | cmyk(0%, 8.6%, 48.7%, 9%) |
| CIE-LAB | lab(84.78, -5.11, 48.20) |
| CIE-LCH | lch(84.78, 48.47, 96.05°) |
| OKLab | oklab(86.71% -0.0151 0.1151) |
| OKLCH | oklch(86.71% 0.116 97.5) |
| XYZ | xyz(60.1538, 65.5770, 26.9382) |
| Luminance | 0.6558 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.72
Sand (survey)
#E2CA76
ΔE00 2.87
Wheat (survey)
#FBDD7E
ΔE00 3.68
Pale Gold
#FDDE6C
ΔE00 4.64
Khaki (CSS)
#F0E68C
ΔE00 4.67
Light Mustard
#F7D560
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D477 #778BE8
analogous
#E89C77 #E8D477 #C3E877
triadic
#E8D477 #77E8D4 #D477E8
tetradic
#E8D477 #77E89C #778BE8 #E877C3
square
#E8D477 #77E89C #778BE8 #E877C3
split-complementary
#E8D477 #77C3E8 #9C77E8
monochromatic
#C4A721 #DFC343 #E8D477 #F1E5AB #FAF5E0
Accessibility & contrast
On white
1.49
#E8D477 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.12
#E8D477 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D477
14.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D477 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D477 | 1.00 | 1.49 | 14.12 | 14.12 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4D06F
Deuteranopia (green-blind)
#EAD77B
Tritanopia (blue-blind)
#F7C8BE
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e8d477; /* rgb */ color: rgb(232, 212, 119); /* oklch */ color: oklch(86.7% 0.116 97.5);
Tailwind
colors: {
custom: {
50: '#f1e1a0',
500: '#e8d477',
950: '#000000',
},
}SCSS
$custom: #e8d477; $custom-light: #f1e1a0; $custom-dark: #000000;
JSON
{
"hex": "#e8d477",
"rgb": {
"r": 232,
"g": 212,
"b": 119
},
"hsl": {
"h": 49.381,
"s": 71.069,
"l": 68.824
},
"oklch": {
"l": 0.86706,
"c": 0.11606,
"h": 97.5
},
"luminance": 0.65575
}Semantic roles & 50–950 ramp
primary
#E8D477
secondary
#4359C0
accent
#35D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480