#E4DC6F#E4DC6F
#E4DC6F is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.9% C 0.131 H 105.0°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #E4DC6F |
|---|---|
| RGB | rgb(228, 220, 111) |
| HSL | hsl(56, 68%, 66%) |
| HSV | hsv(56, 51%, 89%) |
| CMYK | cmyk(0%, 3.5%, 51.3%, 10.6%) |
| CIE-LAB | lab(86.42, -11.46, 53.89) |
| CIE-LCH | lch(86.42, 55.10, 102.00°) |
| OKLab | oklab(87.9% -0.034 0.1269) |
| OKLCH | oklch(87.9% 0.131 105) |
| XYZ | xyz(60.4590, 68.8299, 25.1366) |
| Luminance | 0.6883 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.63
Khaki (CSS)
#F0E68C
ΔE00 3.78
Sandy
#F1DA7A
ΔE00 4.48
Sandy Yellow
#FDEE73
ΔE00 4.81
Yellowish
#FAEE66
ΔE00 5.14
Sand Yellow
#FCE166
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4DC6F #6F77E4
analogous
#E4A26F #E4DC6F #B2E46F
triadic
#E4DC6F #6FE4DC #DC6FE4
tetradic
#E4DC6F #6FE4A2 #6F77E4 #E46FB2
square
#E4DC6F #6FE4A2 #6F77E4 #E46FB2
split-complementary
#E4DC6F #6FB2E4 #A26FE4
monochromatic
#B6AC22 #DACF3B #E4DC6F #EEE9A3 #F7F5D6
Accessibility & contrast
On white
1.42
#E4DC6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.77
#E4DC6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4DC6F
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4DC6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4DC6F | 1.00 | 1.42 | 14.77 | 14.77 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD565
Deuteranopia (green-blind)
#EFDB74
Tritanopia (blue-blind)
#F2D0C3
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #e4dc6f; /* rgb */ color: rgb(228, 220, 111); /* oklch */ color: oklch(87.9% 0.131 105.0);
Tailwind
colors: {
custom: {
50: '#efe69b',
500: '#e4dc6f',
950: '#000000',
},
}SCSS
$custom: #e4dc6f; $custom-light: #efe69b; $custom-dark: #000000;
JSON
{
"hex": "#e4dc6f",
"rgb": {
"r": 228,
"g": 220,
"b": 111
},
"hsl": {
"h": 55.897,
"s": 68.421,
"l": 66.471
},
"oklch": {
"l": 0.87896,
"c": 0.13139,
"h": 105
},
"luminance": 0.68828
}Semantic roles & 50–950 ramp
primary
#E4DC6F
secondary
#4048B7
accent
#22D015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F