#ECFB66#ECFB66
#ECFB66 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 94.9% C 0.171 H 114.5°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).
Color values
| HEX | #ECFB66 |
|---|---|
| RGB | rgb(236, 251, 102) |
| HSL | hsl(66, 95%, 69%) |
| HSV | hsv(66, 59%, 98%) |
| CMYK | cmyk(6%, 0%, 59.4%, 1.6%) |
| CIE-LAB | lab(95.07, -24.04, 67.83) |
| CIE-LCH | lch(95.07, 71.96, 109.52°) |
| OKLab | oklab(94.92% -0.0711 0.1557) |
| OKLCH | oklch(94.92% 0.171 114.5) |
| XYZ | xyz(71.4891, 87.7877, 25.7465) |
| Luminance | 0.8779 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 3.27
Pastel Yellow
#FFFE71
ΔE00 3.60
Faded Yellow
#FEFF7F
ΔE00 3.66
Light Yellow
#FFFE7A
ΔE00 3.78
Banana (survey)
#FFFF7E
ΔE00 3.79
Butter Yellow
#FFFD74
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECFB66 #7566FB
analogous
#FBBF66 #ECFB66 #A2FB66
triadic
#ECFB66 #66ECFB #FB66EC
tetradic
#ECFB66 #66FBBF #7566FB #FB66A2
square
#ECFB66 #66FBBF #7566FB #FB66A2
split-complementary
#ECFB66 #66A2FB #BF66FB
monochromatic
#CBE106 #E5F92A #ECFB66 #F3FDA2 #FBFEDD
Accessibility & contrast
On white
1.13
#ECFB66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.56
#ECFB66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECFB66
18.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECFB66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECFB66 | 1.00 | 1.13 | 18.56 | 18.56 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF055
Deuteranopia (green-blind)
#FFF26F
Tritanopia (blue-blind)
#FAEEDB
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #ecfb66; /* rgb */ color: rgb(236, 251, 102); /* oklch */ color: oklch(94.9% 0.171 114.5);
Tailwind
colors: {
custom: {
50: '#f5fc97',
500: '#ecfb66',
950: '#000000',
},
}SCSS
$custom: #ecfb66; $custom-light: #f5fc97; $custom-dark: #000000;
JSON
{
"hex": "#ecfb66",
"rgb": {
"r": 236,
"g": 251,
"b": 102
},
"hsl": {
"h": 66.04,
"s": 94.904,
"l": 69.216
},
"oklch": {
"l": 0.94921,
"c": 0.17114,
"h": 114.5
},
"luminance": 0.87787
}Semantic roles & 50–950 ramp
primary
#ECFB66
secondary
#4130D5
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F