#ECFB6F#ECFB6F
#ECFB6F is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.0% C 0.164 H 114.7°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).
Color values
| HEX | #ECFB6F |
|---|---|
| RGB | rgb(236, 251, 111) |
| HSL | hsl(66, 95%, 71%) |
| HSV | hsv(66, 56%, 98%) |
| CMYK | cmyk(6%, 0%, 55.8%, 1.6%) |
| CIE-LAB | lab(95.15, -23.39, 64.11) |
| CIE-LCH | lch(95.15, 68.25, 110.04°) |
| OKLab | oklab(95.01% -0.0683 0.1488) |
| OKLCH | oklch(95.01% 0.164 114.7) |
| XYZ | xyz(71.9599, 87.9760, 28.2261) |
| Luminance | 0.8798 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Faded Yellow
#FEFF7F
ΔE00 3.37
Banana (survey)
#FFFF7E
ΔE00 3.56
Yellowish Tan
#FCFC81
ΔE00 3.57
Butter
#FFFF81
ΔE00 3.64
Light Yellow
#FFFE7A
ΔE00 3.66
Pastel Yellow
#FFFE71
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECFB6F #7E6FFB
analogous
#FBC46F #ECFB6F #A6FB6F
triadic
#ECFB6F #6FECFB #FB6FEC
tetradic
#ECFB6F #6FFBC4 #7E6FFB #FB6FA6
square
#ECFB6F #6FFBC4 #7E6FFB #FB6FA6
split-complementary
#ECFB6F #6FA6FB #C46FFB
monochromatic
#D1E906 #E4F933 #ECFB6F #F4FDAB #FBFEE1
Accessibility & contrast
On white
1.13
#ECFB6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.60
#ECFB6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECFB6F
18.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECFB6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECFB6F | 1.00 | 1.13 | 18.60 | 18.60 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF060
Deuteranopia (green-blind)
#FFF277
Tritanopia (blue-blind)
#F9EEDC
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #ecfb6f; /* rgb */ color: rgb(236, 251, 111); /* oklch */ color: oklch(95.0% 0.164 114.7);
Tailwind
colors: {
custom: {
50: '#f5fc9d',
500: '#ecfb6f',
950: '#000000',
},
}SCSS
$custom: #ecfb6f; $custom-light: #f5fc9d; $custom-dark: #000000;
JSON
{
"hex": "#ecfb6f",
"rgb": {
"r": 236,
"g": 251,
"b": 111
},
"hsl": {
"h": 66.429,
"s": 94.595,
"l": 70.98
},
"oklch": {
"l": 0.9501,
"c": 0.16377,
"h": 114.7
},
"luminance": 0.87975
}Semantic roles & 50–950 ramp
primary
#ECFB6F
secondary
#4938D6
accent
#00E619
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580