#E4D966#E4D966
#E4D966 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.137 H 103.8°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D966 |
|---|---|
| RGB | rgb(228, 217, 102) |
| HSL | hsl(55, 70%, 65%) |
| HSV | hsv(55, 55%, 89%) |
| CMYK | cmyk(0%, 4.8%, 55.3%, 10.6%) |
| CIE-LAB | lab(85.54, -10.67, 57.02) |
| CIE-LCH | lch(85.54, 58.01, 100.60°) |
| OKLab | oklab(87.17% -0.0327 0.1328) |
| OKLCH | oklch(87.17% 0.137 103.8) |
| XYZ | xyz(59.2079, 67.0810, 22.3969) |
| Luminance | 0.6708 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.62
Sandy
#F1DA7A
ΔE00 4.28
Khaki (CSS)
#F0E68C
ΔE00 4.77
Sand Yellow
#FCE166
ΔE00 4.88
Sandy Yellow
#FDEE73
ΔE00 4.92
Yellowish
#FAEE66
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D966 #6671E4
analogous
#E49A66 #E4D966 #B0E466
triadic
#E4D966 #66E4D9 #D966E4
tetradic
#E4D966 #66E49A #6671E4 #E466B0
square
#E4D966 #66E49A #6671E4 #E466B0
split-complementary
#E4D966 #66B0E4 #9A66E4
monochromatic
#B0A41F #DBCC32 #E4D966 #EDE69A #F6F3CE
Accessibility & contrast
On white
1.46
#E4D966 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.42
#E4D966 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D966
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D966 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D966 | 1.00 | 1.46 | 14.42 | 14.42 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD25A
Deuteranopia (green-blind)
#EED86C
Tritanopia (blue-blind)
#F3CCBF
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e4d966; /* rgb */ color: rgb(228, 217, 102); /* oklch */ color: oklch(87.2% 0.137 103.8);
Tailwind
colors: {
custom: {
50: '#efe495',
500: '#e4d966',
950: '#000000',
},
}SCSS
$custom: #e4d966; $custom-light: #efe495; $custom-dark: #000000;
JSON
{
"hex": "#e4d966",
"rgb": {
"r": 228,
"g": 217,
"b": 102
},
"hsl": {
"h": 54.762,
"s": 70,
"l": 64.706
},
"oklch": {
"l": 0.8717,
"c": 0.13673,
"h": 103.8
},
"luminance": 0.67079
}Semantic roles & 50–950 ramp
primary
#E4D966
secondary
#3D47B1
accent
#24D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F