#E5D862#E5D862
#E5D862 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.139 H 103.0°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #E5D862 |
|---|---|
| RGB | rgb(229, 216, 98) |
| HSL | hsl(54, 72%, 64%) |
| HSV | hsv(54, 57%, 90%) |
| CMYK | cmyk(0%, 5.7%, 57.2%, 10.2%) |
| CIE-LAB | lab(85.33, -10.06, 58.59) |
| CIE-LCH | lch(85.33, 59.45, 99.74°) |
| OKLab | oklab(87.01% -0.0314 0.1357) |
| OKLCH | oklch(87.01% 0.139 103) |
| XYZ | xyz(59.0756, 66.6537, 21.3065) |
| Luminance | 0.6665 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.10
Sandy
#F1DA7A
ΔE00 4.18
Sand Yellow
#FCE166
ΔE00 4.46
Sandy Yellow
#FDEE73
ΔE00 4.95
Yellow Tan
#FFE36E
ΔE00 4.97
Yellowish
#FAEE66
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5D862 #626FE5
analogous
#E59762 #E5D862 #B1E562
triadic
#E5D862 #62E5D8 #D862E5
tetradic
#E5D862 #62E597 #626FE5 #E562B1
square
#E5D862 #62E597 #626FE5 #E562B1
split-complementary
#E5D862 #62B1E5 #9762E5
monochromatic
#B0A11D #DCCB2D #E5D862 #EEE597 #F6F2CB
Accessibility & contrast
On white
1.47
#E5D862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.33
#E5D862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5D862
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5D862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5D862 | 1.00 | 1.47 | 14.33 | 14.33 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D256
Deuteranopia (green-blind)
#EED868
Tritanopia (blue-blind)
#F5CBBE
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e5d862; /* rgb */ color: rgb(229, 216, 98); /* oklch */ color: oklch(87.0% 0.139 103.0);
Tailwind
colors: {
custom: {
50: '#f0e392',
500: '#e5d862',
950: '#000000',
},
}SCSS
$custom: #e5d862; $custom-light: #f0e392; $custom-dark: #000000;
JSON
{
"hex": "#e5d862",
"rgb": {
"r": 229,
"g": 216,
"b": 98
},
"hsl": {
"h": 54.046,
"s": 71.585,
"l": 64.118
},
"oklch": {
"l": 0.87006,
"c": 0.13926,
"h": 103
},
"luminance": 0.66652
}Semantic roles & 50–950 ramp
primary
#E5D862
secondary
#3B46B1
accent
#25D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F