#E0D862#E0D862
#E0D862 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.140 H 105.4°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #E0D862 |
|---|---|
| RGB | rgb(224, 216, 98) |
| HSL | hsl(56, 67%, 63%) |
| HSV | hsv(56, 56%, 88%) |
| CMYK | cmyk(0%, 3.6%, 56.3%, 12.2%) |
| CIE-LAB | lab(84.92, -12.10, 58.01) |
| CIE-LCH | lch(84.92, 59.26, 101.78°) |
| OKLab | oklab(86.58% -0.037 0.1345) |
| OKLCH | oklch(86.58% 0.14 105.4) |
| XYZ | xyz(57.5027, 65.8427, 21.2328) |
| Luminance | 0.6584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.17
Sandy
#F1DA7A
ΔE00 5.15
Khaki (CSS)
#F0E68C
ΔE00 5.28
Yellowish
#FAEE66
ΔE00 5.40
Sandy Yellow
#FDEE73
ΔE00 5.43
Piss Yellow
#DDD618
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E0D862 #626AE0
analogous
#E09962 #E0D862 #A9E062
triadic
#E0D862 #62E0D8 #D862E0
tetradic
#E0D862 #62E099 #626AE0 #E062A9
square
#E0D862 #62E099 #626AE0 #E062A9
split-complementary
#E0D862 #62A9E0 #9962E0
monochromatic
#A79E21 #D6CB2F #E0D862 #EAE595 #F4F1C8
Accessibility & contrast
On white
1.48
#E0D862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.17
#E0D862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E0D862
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E0D862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E0D862 | 1.00 | 1.48 | 14.17 | 14.17 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#ECD768
Tritanopia (blue-blind)
#EFCBBE
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e0d862; /* rgb */ color: rgb(224, 216, 98); /* oklch */ color: oklch(86.6% 0.140 105.4);
Tailwind
colors: {
custom: {
50: '#ece392',
500: '#e0d862',
950: '#000000',
},
}SCSS
$custom: #e0d862; $custom-light: #ece392; $custom-dark: #000000;
JSON
{
"hex": "#e0d862",
"rgb": {
"r": 224,
"g": 216,
"b": 98
},
"hsl": {
"h": 56.19,
"s": 67.021,
"l": 63.137
},
"oklch": {
"l": 0.86579,
"c": 0.13952,
"h": 105.4
},
"luminance": 0.65841
}Semantic roles & 50–950 ramp
primary
#E0D862
secondary
#3D44A9
accent
#22CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F