#E4D862#E4D862
#E4D862 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.139 H 103.5°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D862 |
|---|---|
| RGB | rgb(228, 216, 98) |
| HSL | hsl(54, 71%, 64%) |
| HSV | hsv(54, 57%, 89%) |
| CMYK | cmyk(0%, 5.3%, 57%, 10.6%) |
| CIE-LAB | lab(85.25, -10.47, 58.48) |
| CIE-LCH | lch(85.25, 59.40, 100.15°) |
| OKLab | oklab(86.92% -0.0325 0.1354) |
| OKLCH | oklch(86.92% 0.139 103.5) |
| XYZ | xyz(58.7574, 66.4896, 21.2916) |
| Luminance | 0.6649 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.29
Sandy
#F1DA7A
ΔE00 4.37
Sand Yellow
#FCE166
ΔE00 4.70
Sandy Yellow
#FDEE73
ΔE00 5.02
Yellowish
#FAEE66
ΔE00 5.13
Yellow Tan
#FFE36E
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D862 #626EE4
analogous
#E49762 #E4D862 #AFE462
triadic
#E4D862 #62E4D8 #D862E4
tetradic
#E4D862 #62E497 #626EE4 #E462AF
square
#E4D862 #62E497 #626EE4 #E462AF
split-complementary
#E4D862 #62AFE4 #9762E4
monochromatic
#AEA01E #DBCB2E #E4D862 #EDE596 #F6F2CA
Accessibility & contrast
On white
1.47
#E4D862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.30
#E4D862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D862
14.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D862 | 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)
#E9D156
Deuteranopia (green-blind)
#EDD868
Tritanopia (blue-blind)
#F3CBBE
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e4d862; /* rgb */ color: rgb(228, 216, 98); /* oklch */ color: oklch(86.9% 0.139 103.5);
Tailwind
colors: {
custom: {
50: '#efe392',
500: '#e4d862',
950: '#000000',
},
}SCSS
$custom: #e4d862; $custom-light: #efe392; $custom-dark: #000000;
JSON
{
"hex": "#e4d862",
"rgb": {
"r": 228,
"g": 216,
"b": 98
},
"hsl": {
"h": 54.462,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.8692,
"c": 0.13929,
"h": 103.5
},
"luminance": 0.66488
}Semantic roles & 50–950 ramp
primary
#E4D862
secondary
#3B46AF
accent
#25D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F