#ECFC6F#ECFC6F
#ECFC6F is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.2% C 0.165 H 115.0°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).
Color values
| HEX | #ECFC6F |
|---|---|
| RGB | rgb(236, 252, 111) |
| HSL | hsl(67, 96%, 71%) |
| HSV | hsv(67, 56%, 99%) |
| CMYK | cmyk(6.3%, 0%, 56%, 1.2%) |
| CIE-LAB | lab(95.41, -23.86, 64.41) |
| CIE-LCH | lch(95.41, 68.69, 110.33°) |
| OKLab | oklab(95.22% -0.0697 0.1495) |
| OKLCH | oklch(95.22% 0.165 115) |
| XYZ | xyz(72.2731, 88.6024, 28.3305) |
| Luminance | 0.8860 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Faded Yellow
#FEFF7F
ΔE00 3.50
Banana (survey)
#FFFF7E
ΔE00 3.69
Yellowish Tan
#FCFC81
ΔE00 3.73
Butter
#FFFF81
ΔE00 3.77
Light Yellow
#FFFE7A
ΔE00 3.80
Canary
#FDFF63
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECFC6F #7F6FFC
analogous
#FCC66F #ECFC6F #A5FC6F
triadic
#ECFC6F #6FECFC #FC6FEC
tetradic
#ECFC6F #6FFCC6 #7F6FFC #FC6FA5
square
#ECFC6F #6FFCC6 #7F6FFC #FC6FA5
split-complementary
#ECFC6F #6FA5FC #C66FFC
monochromatic
#D1EC05 #E4FB33 #ECFC6F #F4FDAB #FBFEE1
Accessibility & contrast
On white
1.12
#ECFC6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.72
#ECFC6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECFC6F
18.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECFC6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECFC6F | 1.00 | 1.12 | 18.72 | 18.72 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF160
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#F9EFDD
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #ecfc6f; /* rgb */ color: rgb(236, 252, 111); /* oklch */ color: oklch(95.2% 0.165 115.0);
Tailwind
colors: {
custom: {
50: '#f5fd9d',
500: '#ecfc6f',
950: '#000000',
},
}SCSS
$custom: #ecfc6f; $custom-light: #f5fd9d; $custom-dark: #000000;
JSON
{
"hex": "#ecfc6f",
"rgb": {
"r": 236,
"g": 252,
"b": 111
},
"hsl": {
"h": 66.809,
"s": 95.918,
"l": 71.176
},
"oklch": {
"l": 0.95221,
"c": 0.16491,
"h": 115
},
"luminance": 0.88601
}Semantic roles & 50–950 ramp
primary
#ECFC6F
secondary
#4A37D8
accent
#00E61A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580