#40C956#40C956
#40C956 is a light, vivid green. Relative luminance 0.435; OKLCH L 73.8% C 0.196 H 145.9°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #40C956 |
|---|---|
| RGB | rgb(64, 201, 86) |
| HSL | hsl(130, 56%, 52%) |
| HSV | hsv(130, 68%, 79%) |
| CMYK | cmyk(68.2%, 0%, 57.2%, 21.2%) |
| CIE-LAB | lab(71.91, -59.96, 46.25) |
| CIE-LCH | lch(71.91, 75.73, 142.36°) |
| OKLab | oklab(73.79% -0.1619 0.1097) |
| OKLCH | oklch(73.79% 0.196 145.9) |
| XYZ | xyz(24.6790, 43.5325, 15.9043) |
| Luminance | 0.4354 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.97
Lime Green
#32CD32
ΔE00 4.15
Emerald
#50C878
ΔE00 5.30
Algae Green
#21C36F
ΔE00 5.48
Leafy Green
#51B73B
ΔE00 5.60
Tealish Green
#0CDC73
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C956 #C940B3
analogous
#6FC940 #40C956 #40C99B
triadic
#40C956 #5640C9 #C95640
tetradic
#40C956 #406FC9 #C940B3 #C99B40
square
#40C956 #406FC9 #C940B3 #C99B40
split-complementary
#40C956 #9B40C9 #C9406F
monochromatic
#1F6F2C #2D9F3F #40C956 #70D680 #9FE4AA
Accessibility & contrast
On white
2.16
#40C956 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#40C956 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C956
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C956 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C956 | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB74B
Deuteranopia (green-blind)
#BCAC5F
Tritanopia (blue-blind)
#0AC4B0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #40c956; /* rgb */ color: rgb(64, 201, 86); /* oklch */ color: oklch(73.8% 0.196 145.9);
Tailwind
colors: {
custom: {
50: '#86db89',
500: '#40c956',
950: '#000000',
},
}SCSS
$custom: #40c956; $custom-light: #86db89; $custom-dark: #000000;
JSON
{
"hex": "#40c956",
"rgb": {
"r": 64,
"g": 201,
"b": 86
},
"hsl": {
"h": 129.635,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.73788,
"c": 0.19558,
"h": 145.9
},
"luminance": 0.43535
}Semantic roles & 50–950 ramp
primary
#40C956
secondary
#D094C7
accent
#49C7DF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D