#E4D166#E4D166
#E4D166 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.5% C 0.129 H 99.4°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D166 |
|---|---|
| RGB | rgb(228, 209, 102) |
| HSL | hsl(51, 70%, 65%) |
| HSV | hsv(51, 55%, 89%) |
| CMYK | cmyk(0%, 8.3%, 55.3%, 10.6%) |
| CIE-LAB | lab(83.47, -6.63, 54.63) |
| CIE-LCH | lch(83.47, 55.03, 96.92°) |
| OKLab | oklab(85.53% -0.0211 0.1276) |
| OKLCH | oklch(85.53% 0.129 99.4) |
| XYZ | xyz(57.1957, 63.0565, 21.7261) |
| Luminance | 0.6305 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.07
Dull Yellow
#EEDC5B
ΔE00 3.51
Sand (survey)
#E2CA76
ΔE00 3.99
Light Mustard
#F7D560
ΔE00 4.38
Pale Gold
#FDDE6C
ΔE00 4.70
Sand Yellow
#FCE166
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D166 #6679E4
analogous
#E49266 #E4D166 #B8E466
triadic
#E4D166 #66E4D1 #D166E4
tetradic
#E4D166 #66E492 #6679E4 #E466B8
square
#E4D166 #66E492 #6679E4 #E466B8
split-complementary
#E4D166 #66B8E4 #9266E4
monochromatic
#B09B1F #DBC132 #E4D166 #EDE19A #F6F0CE
Accessibility & contrast
On white
1.54
#E4D166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.61
#E4D166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D166
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D166 | 1.00 | 1.54 | 13.61 | 13.61 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#E8D36B
Tritanopia (blue-blind)
#F4C4B9
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e4d166; /* rgb */ color: rgb(228, 209, 102); /* oklch */ color: oklch(85.5% 0.129 99.4);
Tailwind
colors: {
custom: {
50: '#efde95',
500: '#e4d166',
950: '#000000',
},
}SCSS
$custom: #e4d166; $custom-light: #efde95; $custom-dark: #000000;
JSON
{
"hex": "#e4d166",
"rgb": {
"r": 228,
"g": 209,
"b": 102
},
"hsl": {
"h": 50.952,
"s": 70,
"l": 64.706
},
"oklch": {
"l": 0.85525,
"c": 0.12935,
"h": 99.4
},
"luminance": 0.63054
}Semantic roles & 50–950 ramp
primary
#E4D166
secondary
#3D4EB1
accent
#30D214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F