#E4D366#E4D366
#E4D366 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.9% C 0.131 H 100.6°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D366 |
|---|---|
| RGB | rgb(228, 211, 102) |
| HSL | hsl(52, 70%, 65%) |
| HSV | hsv(52, 55%, 89%) |
| CMYK | cmyk(0%, 7.5%, 55.3%, 10.6%) |
| CIE-LAB | lab(83.99, -7.65, 55.23) |
| CIE-LCH | lch(83.99, 55.76, 97.88°) |
| OKLab | oklab(85.93% -0.024 0.1289) |
| OKLCH | oklch(85.93% 0.131 100.6) |
| XYZ | xyz(57.6894, 64.0440, 21.8907) |
| Luminance | 0.6404 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.07
Sandy
#F1DA7A
ΔE00 3.21
Sand (survey)
#E2CA76
ΔE00 4.58
Sand Yellow
#FCE166
ΔE00 4.61
Light Mustard
#F7D560
ΔE00 4.74
Pale Gold
#FDDE6C
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D366 #6677E4
analogous
#E49466 #E4D366 #B6E466
triadic
#E4D366 #66E4D3 #D366E4
tetradic
#E4D366 #66E494 #6677E4 #E466B6
square
#E4D366 #66E494 #6677E4 #E466B6
split-complementary
#E4D366 #66B6E4 #9466E4
monochromatic
#B09D1F #DBC432 #E4D366 #EDE29A #F6F1CE
Accessibility & contrast
On white
1.52
#E4D366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.81
#E4D366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D366
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D366 | 1.00 | 1.52 | 13.81 | 13.81 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CE5B
Deuteranopia (green-blind)
#E9D46B
Tritanopia (blue-blind)
#F3C6BB
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e4d366; /* rgb */ color: rgb(228, 211, 102); /* oklch */ color: oklch(85.9% 0.131 100.6);
Tailwind
colors: {
custom: {
50: '#efe095',
500: '#e4d366',
950: '#000000',
},
}SCSS
$custom: #e4d366; $custom-light: #efe095; $custom-dark: #000000;
JSON
{
"hex": "#e4d366",
"rgb": {
"r": 228,
"g": 211,
"b": 102
},
"hsl": {
"h": 51.905,
"s": 70,
"l": 64.706
},
"oklch": {
"l": 0.85935,
"c": 0.13113,
"h": 100.6
},
"luminance": 0.64042
}Semantic roles & 50–950 ramp
primary
#E4D366
secondary
#3D4CB1
accent
#2DD214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F