#40C866#40C866
#40C866 is a light, vivid green. Relative luminance 0.434; OKLCH L 73.8% C 0.181 H 148.9°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #40C866 |
|---|---|
| RGB | rgb(64, 200, 102) |
| HSL | hsl(137, 55%, 52%) |
| HSV | hsv(137, 68%, 78%) |
| CMYK | cmyk(68%, 0%, 49%, 21.6%) |
| CIE-LAB | lab(71.80, -57.37, 38.43) |
| CIE-LCH | lch(71.80, 69.05, 146.18°) |
| OKLab | oklab(73.75% -0.1546 0.0934) |
| OKLCH | oklch(73.75% 0.181 148.9) |
| XYZ | xyz(25.1650, 43.3551, 19.6100) |
| Luminance | 0.4336 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 2.95
Algae Green
#21C36F
ΔE00 3.23
Dark Mint
#48C072
ΔE00 3.53
Shamrock Green
#02C14D
ΔE00 3.61
Seaweed
#18D17B
ΔE00 4.03
Dark Mint Green
#20C073
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C866 #C840A2
analogous
#5EC840 #40C866 #40C8AA
triadic
#40C866 #6640C8 #C86640
tetradic
#40C866 #405EC8 #C840A2 #C8AA40
square
#40C866 #405EC8 #C840A2 #C8AA40
split-complementary
#40C866 #AA40C8 #C8405E
monochromatic
#206E36 #2D9D4D #40C866 #70D68C #9FE3B2
Accessibility & contrast
On white
2.17
#40C866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#40C866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C866
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C866 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB75E
Deuteranopia (green-blind)
#B9AB6D
Tritanopia (blue-blind)
#00C4B1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #40c866; /* rgb */ color: rgb(64, 200, 102); /* oklch */ color: oklch(73.8% 0.181 148.9);
Tailwind
colors: {
custom: {
50: '#85da93',
500: '#40c866',
950: '#000000',
},
}SCSS
$custom: #40c866; $custom-light: #85da93; $custom-dark: #000000;
JSON
{
"hex": "#40c866",
"rgb": {
"r": 64,
"g": 200,
"b": 102
},
"hsl": {
"h": 136.765,
"s": 55.285,
"l": 51.765
},
"oklch": {
"l": 0.73752,
"c": 0.18059,
"h": 148.9
},
"luminance": 0.43358
}Semantic roles & 50–950 ramp
primary
#40C866
secondary
#D094BF
accent
#49B5DF
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E