#ECFC6B#ECFC6B
#ECFC6B is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.2% C 0.168 H 114.9°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).
Color values
| HEX | #ECFC6B |
|---|---|
| RGB | rgb(236, 252, 107) |
| HSL | hsl(67, 96%, 70%) |
| HSV | hsv(67, 58%, 99%) |
| CMYK | cmyk(6.3%, 0%, 57.5%, 1.2%) |
| CIE-LAB | lab(95.38, -24.16, 66.08) |
| CIE-LCH | lch(95.38, 70.36, 110.09°) |
| OKLab | oklab(95.18% -0.0709 0.1526) |
| OKLCH | oklch(95.18% 0.168 114.9) |
| XYZ | xyz(72.0578, 88.5163, 27.1965) |
| Luminance | 0.8851 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Faded Yellow
#FEFF7F
ΔE00 3.60
Canary
#FDFF63
ΔE00 3.60
Banana (survey)
#FFFF7E
ΔE00 3.76
Pastel Yellow
#FFFE71
ΔE00 3.77
Light Yellow
#FFFE7A
ΔE00 3.82
Yellowish Tan
#FCFC81
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECFC6B #7B6BFC
analogous
#FCC46B #ECFC6B #A3FC6B
triadic
#ECFC6B #6BECFC #FC6BEC
tetradic
#ECFC6B #6BFCC4 #7B6BFC #FC6BA3
square
#ECFC6B #6BFCC4 #7B6BFC #FC6BA3
split-complementary
#ECFC6B #6BA3FC #C46BFC
monochromatic
#CFE805 #E4FB2F #ECFC6B #F4FDA7 #FBFEE1
Accessibility & contrast
On white
1.12
#ECFC6B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.70
#ECFC6B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECFC6B
18.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECFC6B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECFC6B | 1.00 | 1.12 | 18.70 | 18.70 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF15B
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FAEFDD
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #ecfc6b; /* rgb */ color: rgb(236, 252, 107); /* oklch */ color: oklch(95.2% 0.168 114.9);
Tailwind
colors: {
custom: {
50: '#f5fd9a',
500: '#ecfc6b',
950: '#000000',
},
}SCSS
$custom: #ecfc6b; $custom-light: #f5fd9a; $custom-dark: #000000;
JSON
{
"hex": "#ecfc6b",
"rgb": {
"r": 236,
"g": 252,
"b": 107
},
"hsl": {
"h": 66.621,
"s": 96.026,
"l": 70.392
},
"oklch": {
"l": 0.95181,
"c": 0.16824,
"h": 114.9
},
"luminance": 0.88515
}Semantic roles & 50–950 ramp
primary
#ECFC6B
secondary
#4634D7
accent
#00E619
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F