#E4D666#E4D666
#E4D666 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.6% C 0.134 H 102.2°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D666 |
|---|---|
| RGB | rgb(228, 214, 102) |
| HSL | hsl(53, 70%, 65%) |
| HSV | hsv(53, 55%, 89%) |
| CMYK | cmyk(0%, 6.1%, 55.3%, 10.6%) |
| CIE-LAB | lab(84.77, -9.16, 56.12) |
| CIE-LCH | lch(84.77, 56.87, 99.27°) |
| OKLab | oklab(86.55% -0.0284 0.1308) |
| OKLCH | oklch(86.55% 0.134 102.2) |
| XYZ | xyz(58.4417, 65.5485, 22.1415) |
| Luminance | 0.6555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.66
Sandy
#F1DA7A
ΔE00 3.65
Sand Yellow
#FCE166
ΔE00 4.64
Khaki (CSS)
#F0E68C
ΔE00 5.01
Yellow Tan
#FFE36E
ΔE00 5.05
Pale Gold
#FDDE6C
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D666 #6674E4
analogous
#E49766 #E4D666 #B3E466
triadic
#E4D666 #66E4D6 #D666E4
tetradic
#E4D666 #66E497 #6674E4 #E466B3
square
#E4D666 #66E497 #6674E4 #E466B3
split-complementary
#E4D666 #66B3E4 #9766E4
monochromatic
#B0A01F #DBC832 #E4D666 #EDE49A #F6F2CE
Accessibility & contrast
On white
1.49
#E4D666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.11
#E4D666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D666
14.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D666 | 1.00 | 1.49 | 14.11 | 14.11 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#EBD66B
Tritanopia (blue-blind)
#F3C9BD
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e4d666; /* rgb */ color: rgb(228, 214, 102); /* oklch */ color: oklch(86.6% 0.134 102.2);
Tailwind
colors: {
custom: {
50: '#efe295',
500: '#e4d666',
950: '#000000',
},
}SCSS
$custom: #e4d666; $custom-light: #efe295; $custom-dark: #000000;
JSON
{
"hex": "#e4d666",
"rgb": {
"r": 228,
"g": 214,
"b": 102
},
"hsl": {
"h": 53.333,
"s": 70,
"l": 64.706
},
"oklch": {
"l": 0.86551,
"c": 0.13388,
"h": 102.2
},
"luminance": 0.65546
}Semantic roles & 50–950 ramp
primary
#E4D666
secondary
#3D4AB1
accent
#29D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F