#E1D862#E1D862
#E1D862 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.7% C 0.139 H 104.9°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #E1D862 |
|---|---|
| RGB | rgb(225, 216, 98) |
| HSL | hsl(56, 68%, 63%) |
| HSV | hsv(56, 56%, 88%) |
| CMYK | cmyk(0%, 4%, 56.4%, 11.8%) |
| CIE-LAB | lab(85.00, -11.69, 58.13) |
| CIE-LCH | lch(85.00, 59.29, 101.37°) |
| OKLab | oklab(86.66% -0.0359 0.1348) |
| OKLCH | oklch(86.66% 0.139 104.9) |
| XYZ | xyz(57.8137, 66.0030, 21.2474) |
| Luminance | 0.6600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.94
Sandy
#F1DA7A
ΔE00 4.95
Khaki (CSS)
#F0E68C
ΔE00 5.25
Sandy Yellow
#FDEE73
ΔE00 5.31
Yellowish
#FAEE66
ΔE00 5.32
Sand Yellow
#FCE166
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E1D862 #626BE1
analogous
#E19862 #E1D862 #AAE162
triadic
#E1D862 #62E1D8 #D862E1
tetradic
#E1D862 #62E198 #626BE1 #E162AA
square
#E1D862 #62E198 #626BE1 #E162AA
split-complementary
#E1D862 #62AAE1 #9862E1
monochromatic
#A89F20 #D7CB2F #E1D862 #EBE595 #F5F2C9
Accessibility & contrast
On white
1.48
#E1D862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.20
#E1D862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E1D862
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E1D862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E1D862 | 1.00 | 1.48 | 14.20 | 14.20 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#ECD768
Tritanopia (blue-blind)
#F0CBBE
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e1d862; /* rgb */ color: rgb(225, 216, 98); /* oklch */ color: oklch(86.7% 0.139 104.9);
Tailwind
colors: {
custom: {
50: '#ede392',
500: '#e1d862',
950: '#000000',
},
}SCSS
$custom: #e1d862; $custom-light: #ede392; $custom-dark: #000000;
JSON
{
"hex": "#e1d862",
"rgb": {
"r": 225,
"g": 216,
"b": 98
},
"hsl": {
"h": 55.748,
"s": 67.914,
"l": 63.333
},
"oklch": {
"l": 0.86663,
"c": 0.13944,
"h": 104.9
},
"luminance": 0.66001
}Semantic roles & 50–950 ramp
primary
#E1D862
secondary
#3D44AB
accent
#23D016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F