#E2D970#E2D970
#E2D970 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.1% C 0.128 H 104.3°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D970 |
|---|---|
| RGB | rgb(226, 217, 112) |
| HSL | hsl(55, 66%, 66%) |
| HSV | hsv(55, 50%, 89%) |
| CMYK | cmyk(0%, 4%, 50.4%, 11.4%) |
| CIE-LAB | lab(85.49, -10.67, 52.28) |
| CIE-LCH | lch(85.49, 53.36, 101.54°) |
| OKLab | oklab(87.12% -0.0315 0.1235) |
| OKLCH | oklch(87.12% 0.128 104.3) |
| XYZ | xyz(59.1031, 66.9661, 25.1385) |
| Luminance | 0.6696 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.87
Dull Yellow
#EEDC5B
ΔE00 3.92
Sandy
#F1DA7A
ΔE00 4.15
Sandy Yellow
#FDEE73
ΔE00 5.45
Sand Yellow
#FCE166
ΔE00 5.73
Yellowish
#FAEE66
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D970 #7079E2
analogous
#E2A070 #E2D970 #B2E270
triadic
#E2D970 #70E2D9 #D970E2
tetradic
#E2D970 #70E2A0 #7079E2 #E270B2
square
#E2D970 #70E2A0 #7079E2 #E270B2
split-complementary
#E2D970 #70B2E2 #A070E2
monochromatic
#B3A824 #D8CB3D #E2D970 #ECE7A3 #F7F4D6
Accessibility & contrast
On white
1.46
#E2D970 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.39
#E2D970 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D970
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D970 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D970 | 1.00 | 1.46 | 14.39 | 14.39 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D366
Deuteranopia (green-blind)
#ECD875
Tritanopia (blue-blind)
#F0CDC1
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e2d970; /* rgb */ color: rgb(226, 217, 112); /* oklch */ color: oklch(87.1% 0.128 104.3);
Tailwind
colors: {
custom: {
50: '#ede49b',
500: '#e2d970',
950: '#000000',
},
}SCSS
$custom: #e2d970; $custom-light: #ede49b; $custom-dark: #000000;
JSON
{
"hex": "#e2d970",
"rgb": {
"r": 226,
"g": 217,
"b": 112
},
"hsl": {
"h": 55.263,
"s": 66.279,
"l": 66.275
},
"oklch": {
"l": 0.87119,
"c": 0.1275,
"h": 104.3
},
"luminance": 0.66964
}Semantic roles & 50–950 ramp
primary
#E2D970
secondary
#424BB4
accent
#26CE17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F