#40C756#40C756
#40C756 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.3% C 0.193 H 146.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #40C756 |
|---|---|
| RGB | rgb(64, 199, 86) |
| HSL | hsl(130, 55%, 52%) |
| HSV | hsv(130, 68%, 78%) |
| CMYK | cmyk(67.8%, 0%, 56.8%, 22%) |
| CIE-LAB | lab(71.29, -59.26, 45.51) |
| CIE-LCH | lch(71.29, 74.72, 142.48°) |
| OKLab | oklab(73.27% -0.16 0.1081) |
| OKLCH | oklch(73.27% 0.193 146) |
| XYZ | xyz(24.2158, 42.6061, 15.7499) |
| Luminance | 0.4261 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.62
Lime Green
#32CD32
ΔE00 4.44
Emerald
#50C878
ΔE00 5.15
Algae Green
#21C36F
ΔE00 5.20
Leafy Green
#51B73B
ΔE00 5.28
Dark Mint
#48C072
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C756 #C740B1
analogous
#6EC740 #40C756 #40C79A
triadic
#40C756 #5640C7 #C75640
tetradic
#40C756 #406EC7 #C740B1 #C79A40
square
#40C756 #406EC7 #C740B1 #C79A40
split-complementary
#40C756 #9A40C7 #C7406E
monochromatic
#206D2C #2E9C40 #40C756 #6FD580 #9FE3AA
Accessibility & contrast
On white
2.21
#40C756 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#40C756 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C756
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C756 | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB54B
Deuteranopia (green-blind)
#BAAA5F
Tritanopia (blue-blind)
#0DC2AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #40c756; /* rgb */ color: rgb(64, 199, 86); /* oklch */ color: oklch(73.3% 0.193 146.0);
Tailwind
colors: {
custom: {
50: '#86d989',
500: '#40c756',
950: '#000000',
},
}SCSS
$custom: #40c756; $custom-light: #86d989; $custom-dark: #000000;
JSON
{
"hex": "#40c756",
"rgb": {
"r": 64,
"g": 199,
"b": 86
},
"hsl": {
"h": 129.778,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.73268,
"c": 0.19311,
"h": 146
},
"luminance": 0.42609
}Semantic roles & 50–950 ramp
primary
#40C756
secondary
#CF94C5
accent
#4AC6DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D