#ECFF40#ECFF40
#ECFF40 is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.5% C 0.200 H 115.3°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).
Color values
| HEX | #ECFF40 |
|---|---|
| RGB | rgb(236, 255, 64) |
| HSL | hsl(66, 100%, 63%) |
| HSV | hsv(66, 75%, 100%) |
| CMYK | cmyk(7.5%, 0%, 74.9%, 0%) |
| CIE-LAB | lab(95.88, -27.98, 82.30) |
| CIE-LCH | lch(95.88, 86.93, 108.78°) |
| OKLab | oklab(95.49% -0.0855 0.1805) |
| OKLCH | oklch(95.49% 0.2 115.3) |
| XYZ | xyz(71.2795, 89.7242, 18.4131) |
| Luminance | 0.8972 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Banana Yellow
#FAFE4B
ΔE00 2.89
Lemon (survey)
#FDFF52
ΔE00 3.35
Lemon Yellow
#FDFF38
ΔE00 3.63
Off Yellow
#F1F33F
ΔE00 3.79
Canary
#FDFF63
ΔE00 3.82
Canary Yellow
#FFFE40
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECFF40 #5340FF
analogous
#FFB340 #ECFF40 #8CFF40
triadic
#ECFF40 #40ECFF #FF40EC
tetradic
#ECFF40 #40FFB3 #5340FF #FF408C
square
#ECFF40 #40FFB3 #5340FF #FF408C
split-complementary
#ECFF40 #408CFF #B340FF
monochromatic
#B1C500 #E6FF03 #ECFF40 #F2FF7D #F8FFBA
Accessibility & contrast
On white
1.11
#ECFF40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.94
#ECFF40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECFF40
18.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECFF40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECFF40 | 1.00 | 1.11 | 18.94 | 18.94 |
| #FFFFFF | 1.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF208
Deuteranopia (green-blind)
#FFF551
Tritanopia (blue-blind)
#FBF0DB
Achromatopsia (no color)
#F3F3F3
Design tokens & code
CSS
--color: #ecff40; /* rgb */ color: rgb(236, 255, 64); /* oklch */ color: oklch(95.5% 0.200 115.3);
Tailwind
colors: {
custom: {
50: '#f6ff83',
500: '#ecff40',
950: '#000000',
},
}SCSS
$custom: #ecff40; $custom-light: #f6ff83; $custom-dark: #000000;
JSON
{
"hex": "#ecff40",
"rgb": {
"r": 236,
"g": 255,
"b": 64
},
"hsl": {
"h": 65.969,
"s": 100,
"l": 62.549
},
"oklch": {
"l": 0.95493,
"c": 0.19976,
"h": 115.3
},
"luminance": 0.89723
}Semantic roles & 50–950 ramp
primary
#ECFF40
secondary
#3222C1
accent
#00E617
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F