#E9D474#E9D474
#E9D474 is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.8% C 0.119 H 97.3°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #E9D474 |
|---|---|
| RGB | rgb(233, 212, 116) |
| HSL | hsl(49, 73%, 68%) |
| HSV | hsv(49, 50%, 91%) |
| CMYK | cmyk(0%, 9%, 50.2%, 8.6%) |
| CIE-LAB | lab(84.83, -4.97, 49.73) |
| CIE-LCH | lch(84.83, 49.98, 95.71°) |
| OKLab | oklab(86.75% -0.0151 0.1182) |
| OKLCH | oklch(86.75% 0.119 97.3) |
| XYZ | xyz(60.3021, 65.6739, 26.0195) |
| Luminance | 0.6567 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.56
Sand (survey)
#E2CA76
ΔE00 3.02
Wheat (survey)
#FBDD7E
ΔE00 3.50
Pale Gold
#FDDE6C
ΔE00 4.23
Light Mustard
#F7D560
ΔE00 4.27
Dull Yellow
#EEDC5B
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9D474 #7489E9
analogous
#E99974 #E9D474 #C3E974
triadic
#E9D474 #74E9D4 #D474E9
tetradic
#E9D474 #74E999 #7489E9 #E974C3
square
#E9D474 #74E999 #7489E9 #E974C3
split-complementary
#E9D474 #74C3E9 #9974E9
monochromatic
#C4A61F #E1C43F #E9D474 #F1E4A9 #FAF5DE
Accessibility & contrast
On white
1.49
#E9D474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.13
#E9D474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9D474
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9D474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9D474 | 1.00 | 1.49 | 14.13 | 14.13 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5D06C
Deuteranopia (green-blind)
#EAD778
Tritanopia (blue-blind)
#F8C8BE
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e9d474; /* rgb */ color: rgb(233, 212, 116); /* oklch */ color: oklch(86.8% 0.119 97.3);
Tailwind
colors: {
custom: {
50: '#f2e19e',
500: '#e9d474',
950: '#000000',
},
}SCSS
$custom: #e9d474; $custom-light: #f2e19e; $custom-dark: #000000;
JSON
{
"hex": "#e9d474",
"rgb": {
"r": 233,
"g": 212,
"b": 116
},
"hsl": {
"h": 49.231,
"s": 72.671,
"l": 68.431
},
"oklch": {
"l": 0.86754,
"c": 0.11915,
"h": 97.3
},
"luminance": 0.65672
}Semantic roles & 50–950 ramp
primary
#E9D474
secondary
#4057C1
accent
#34D511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F