#E2DC66#E2DC66
#E2DC66 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.6% C 0.140 H 106.3°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DC66 |
|---|---|
| RGB | rgb(226, 220, 102) |
| HSL | hsl(57, 68%, 64%) |
| HSV | hsv(57, 55%, 89%) |
| CMYK | cmyk(0%, 2.7%, 54.9%, 11.4%) |
| CIE-LAB | lab(86.16, -12.98, 57.68) |
| CIE-LCH | lch(86.16, 59.12, 102.68°) |
| OKLab | oklab(87.62% -0.0392 0.1342) |
| OKLCH | oklch(87.62% 0.14 106.3) |
| XYZ | xyz(59.3573, 68.3163, 22.6274) |
| Luminance | 0.6831 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.43
Yellowish
#FAEE66
ΔE00 4.81
Khaki (CSS)
#F0E68C
ΔE00 4.81
Sandy Yellow
#FDEE73
ΔE00 4.87
Sandy
#F1DA7A
ΔE00 5.41
Straw
#FCF679
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DC66 #666CE2
analogous
#E29E66 #E2DC66 #AAE266
triadic
#E2DC66 #66E2DC #DC66E2
tetradic
#E2DC66 #66E29E #666CE2 #E266AA
square
#E2DC66 #66E29E #666CE2 #E266AA
split-complementary
#E2DC66 #66AAE2 #9E66E2
monochromatic
#ADA621 #D8D033 #E2DC66 #ECE899 #F6F4CD
Accessibility & contrast
On white
1.43
#E2DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.66
#E2DC66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DC66
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DC66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DC66 | 1.00 | 1.43 | 14.66 | 14.66 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD55A
Deuteranopia (green-blind)
#EFDA6C
Tritanopia (blue-blind)
#F1CFC2
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #e2dc66; /* rgb */ color: rgb(226, 220, 102); /* oklch */ color: oklch(87.6% 0.140 106.3);
Tailwind
colors: {
custom: {
50: '#eee695',
500: '#e2dc66',
950: '#000000',
},
}SCSS
$custom: #e2dc66; $custom-light: #eee695; $custom-dark: #000000;
JSON
{
"hex": "#e2dc66",
"rgb": {
"r": 226,
"g": 220,
"b": 102
},
"hsl": {
"h": 57.097,
"s": 68.132,
"l": 64.314
},
"oklch": {
"l": 0.87624,
"c": 0.13982,
"h": 106.3
},
"luminance": 0.68314
}Semantic roles & 50–950 ramp
primary
#E2DC66
secondary
#3E43AE
accent
#1ED015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F