#E3D970#E3D970
#E3D970 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.127 H 103.8°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #E3D970 |
|---|---|
| RGB | rgb(227, 217, 112) |
| HSL | hsl(55, 67%, 66%) |
| HSV | hsv(55, 51%, 89%) |
| CMYK | cmyk(0%, 4.4%, 50.7%, 11%) |
| CIE-LAB | lab(85.57, -10.27, 52.40) |
| CIE-LCH | lch(85.57, 53.40, 101.09°) |
| OKLab | oklab(87.2% -0.0304 0.1238) |
| OKLCH | oklch(87.2% 0.127 103.8) |
| XYZ | xyz(59.4177, 67.1283, 25.1533) |
| Luminance | 0.6713 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.74
Khaki (CSS)
#F0E68C
ΔE00 3.83
Sandy
#F1DA7A
ΔE00 3.90
Sandy Yellow
#FDEE73
ΔE00 5.34
Sand Yellow
#FCE166
ΔE00 5.49
Yellow Tan
#FFE36E
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E3D970 #707AE3
analogous
#E3A070 #E3D970 #B4E370
triadic
#E3D970 #70E3D9 #D970E3
tetradic
#E3D970 #70E3A0 #707AE3 #E370B4
square
#E3D970 #70E3A0 #707AE3 #E370B4
split-complementary
#E3D970 #70B4E3 #A070E3
monochromatic
#B5A823 #D9CB3D #E3D970 #EDE7A3 #F7F4D6
Accessibility & contrast
On white
1.46
#E3D970 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.43
#E3D970 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E3D970
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E3D970 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E3D970 | 1.00 | 1.46 | 14.43 | 14.43 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D366
Deuteranopia (green-blind)
#ECD875
Tritanopia (blue-blind)
#F1CDC1
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e3d970; /* rgb */ color: rgb(227, 217, 112); /* oklch */ color: oklch(87.2% 0.127 103.8);
Tailwind
colors: {
custom: {
50: '#eee49b',
500: '#e3d970',
950: '#000000',
},
}SCSS
$custom: #e3d970; $custom-light: #eee49b; $custom-dark: #000000;
JSON
{
"hex": "#e3d970",
"rgb": {
"r": 227,
"g": 217,
"b": 112
},
"hsl": {
"h": 54.783,
"s": 67.251,
"l": 66.471
},
"oklch": {
"l": 0.87204,
"c": 0.12747,
"h": 103.8
},
"luminance": 0.67126
}Semantic roles & 50–950 ramp
primary
#E3D970
secondary
#414CB6
accent
#26CF16
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F