#40C752#40C752
#40C752 is a light, vivid green. Relative luminance 0.425; OKLCH L 73.2% C 0.196 H 145.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #40C752 |
|---|---|
| RGB | rgb(64, 199, 82) |
| HSL | hsl(128, 55%, 52%) |
| HSV | hsv(128, 68%, 78%) |
| CMYK | cmyk(67.8%, 0%, 58.8%, 22%) |
| CIE-LAB | lab(71.24, -59.76, 47.30) |
| CIE-LCH | lch(71.24, 76.22, 141.64°) |
| OKLab | oklab(73.22% -0.1615 0.1117) |
| OKLCH | oklch(73.22% 0.196 145.3) |
| XYZ | xyz(24.0592, 42.5435, 14.9248) |
| Luminance | 0.4255 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.68
Lime Green
#32CD32
ΔE00 3.94
Leafy Green
#51B73B
ΔE00 4.99
Emerald
#50C878
ΔE00 5.68
Algae Green
#21C36F
ΔE00 5.72
Fresh Green
#69D84F
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C752 #C740B5
analogous
#72C740 #40C752 #40C796
triadic
#40C752 #5240C7 #C75240
tetradic
#40C752 #4072C7 #C740B5 #C79640
square
#40C752 #4072C7 #C740B5 #C79640
split-complementary
#40C752 #9640C7 #C74072
monochromatic
#206D2A #2E9C3C #40C752 #6FD57D #9FE3A8
Accessibility & contrast
On white
2.21
#40C752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#40C752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C752
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C752 | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#BAAA5B
Tritanopia (blue-blind)
#11C2AE
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #40c752; /* rgb */ color: rgb(64, 199, 82); /* oklch */ color: oklch(73.2% 0.196 145.3);
Tailwind
colors: {
custom: {
50: '#86d986',
500: '#40c752',
950: '#000000',
},
}SCSS
$custom: #40c752; $custom-light: #86d986; $custom-dark: #000000;
JSON
{
"hex": "#40c752",
"rgb": {
"r": 64,
"g": 199,
"b": 82
},
"hsl": {
"h": 128,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.73219,
"c": 0.19636,
"h": 145.3
},
"luminance": 0.42546
}Semantic roles & 50–950 ramp
primary
#40C752
secondary
#CF94C7
accent
#4ACADE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150B
muted
#7D837C