#E1D962#E1D962
#E1D962 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.140 H 105.4°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).
Color values
| HEX | #E1D962 |
|---|---|
| RGB | rgb(225, 217, 98) |
| HSL | hsl(56, 68%, 63%) |
| HSV | hsv(56, 56%, 88%) |
| CMYK | cmyk(0%, 3.6%, 56.4%, 11.8%) |
| CIE-LAB | lab(85.26, -12.19, 58.42) |
| CIE-LCH | lch(85.26, 59.68, 101.79°) |
| OKLab | oklab(86.87% -0.0373 0.1354) |
| OKLCH | oklch(86.87% 0.14 105.4) |
| XYZ | xyz(58.0706, 66.5170, 21.3330) |
| Luminance | 0.6652 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.04
Yellowish
#FAEE66
ΔE00 5.15
Sandy
#F1DA7A
ΔE00 5.16
Sandy Yellow
#FDEE73
ΔE00 5.20
Khaki (CSS)
#F0E68C
ΔE00 5.23
Piss Yellow
#DDD618
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E1D962 #626AE1
analogous
#E19962 #E1D962 #AAE162
triadic
#E1D962 #62E1D9 #D962E1
tetradic
#E1D962 #62E199 #626AE1 #E162AA
square
#E1D962 #62E199 #626AE1 #E162AA
split-complementary
#E1D962 #62AAE1 #9962E1
monochromatic
#A8A020 #D7CD2F #E1D962 #EBE595 #F5F2C9
Accessibility & contrast
On white
1.47
#E1D962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.30
#E1D962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E1D962
14.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E1D962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E1D962 | 1.00 | 1.47 | 14.30 | 14.30 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#EDD868
Tritanopia (blue-blind)
#F0CCBF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e1d962; /* rgb */ color: rgb(225, 217, 98); /* oklch */ color: oklch(86.9% 0.140 105.4);
Tailwind
colors: {
custom: {
50: '#ede492',
500: '#e1d962',
950: '#000000',
},
}SCSS
$custom: #e1d962; $custom-light: #ede492; $custom-dark: #000000;
JSON
{
"hex": "#e1d962",
"rgb": {
"r": 225,
"g": 217,
"b": 98
},
"hsl": {
"h": 56.22,
"s": 67.914,
"l": 63.333
},
"oklch": {
"l": 0.86871,
"c": 0.14042,
"h": 105.4
},
"luminance": 0.66515
}Semantic roles & 50–950 ramp
primary
#E1D962
secondary
#3D44AB
accent
#21D016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F