#E3D862#E3D862
#E3D862 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.139 H 104.0°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #E3D862 |
|---|---|
| RGB | rgb(227, 216, 98) |
| HSL | hsl(55, 70%, 64%) |
| HSV | hsv(55, 57%, 89%) |
| CMYK | cmyk(0%, 4.8%, 56.8%, 11%) |
| CIE-LAB | lab(85.16, -10.88, 58.36) |
| CIE-LCH | lch(85.16, 59.36, 100.56°) |
| OKLab | oklab(86.83% -0.0337 0.1352) |
| OKLCH | oklch(86.83% 0.139 104) |
| XYZ | xyz(58.4410, 66.3265, 21.2768) |
| Luminance | 0.6632 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.50
Sandy
#F1DA7A
ΔE00 4.55
Sand Yellow
#FCE166
ΔE00 4.94
Sandy Yellow
#FDEE73
ΔE00 5.11
Yellowish
#FAEE66
ΔE00 5.18
Khaki (CSS)
#F0E68C
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E3D862 #626DE3
analogous
#E39762 #E3D862 #ADE362
triadic
#E3D862 #62E3D8 #D862E3
tetradic
#E3D862 #62E397 #626DE3 #E362AD
square
#E3D862 #62E397 #626DE3 #E362AD
split-complementary
#E3D862 #62ADE3 #9762E3
monochromatic
#ACA01F #DACB2E #E3D862 #ECE596 #F6F2CA
Accessibility & contrast
On white
1.47
#E3D862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.26
#E3D862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E3D862
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E3D862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E3D862 | 1.00 | 1.47 | 14.26 | 14.26 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#EDD768
Tritanopia (blue-blind)
#F2CBBE
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e3d862; /* rgb */ color: rgb(227, 216, 98); /* oklch */ color: oklch(86.8% 0.139 104.0);
Tailwind
colors: {
custom: {
50: '#eee392',
500: '#e3d862',
950: '#000000',
},
}SCSS
$custom: #e3d862; $custom-light: #eee392; $custom-dark: #000000;
JSON
{
"hex": "#e3d862",
"rgb": {
"r": 227,
"g": 216,
"b": 98
},
"hsl": {
"h": 54.884,
"s": 69.73,
"l": 63.725
},
"oklch": {
"l": 0.86834,
"c": 0.13933,
"h": 104
},
"luminance": 0.66324
}Semantic roles & 50–950 ramp
primary
#E3D862
secondary
#3C45AE
accent
#24D214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F