#40C652#40C652
#40C652 is a light, vivid green. Relative luminance 0.421; OKLCH L 73.0% C 0.195 H 145.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #40C652 |
|---|---|
| RGB | rgb(64, 198, 82) |
| HSL | hsl(128, 54%, 51%) |
| HSV | hsv(128, 68%, 78%) |
| CMYK | cmyk(67.7%, 0%, 58.6%, 22.4%) |
| CIE-LAB | lab(70.93, -59.41, 46.93) |
| CIE-LCH | lch(70.93, 75.72, 141.69°) |
| OKLab | oklab(72.96% -0.1605 0.1109) |
| OKLCH | oklch(72.96% 0.195 145.4) |
| XYZ | xyz(23.8298, 42.0848, 14.8483) |
| Luminance | 0.4209 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.52
Lime Green
#32CD32
ΔE00 4.11
Leafy Green
#51B73B
ΔE00 4.82
Algae Green
#21C36F
ΔE00 5.60
Emerald
#50C878
ΔE00 5.62
Shamrock
#01B44C
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C652 #C640B4
analogous
#71C640 #40C652 #40C695
triadic
#40C652 #5240C6 #C65240
tetradic
#40C652 #4071C6 #C640B4 #C69540
square
#40C652 #4071C6 #C640B4 #C69540
split-complementary
#40C652 #9540C6 #C64071
monochromatic
#206C2A #2E9B3D #40C652 #6FD47D #9EE2A7
Accessibility & contrast
On white
2.23
#40C652 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#40C652 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C652
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C652 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C652 | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B446
Deuteranopia (green-blind)
#B9A95B
Tritanopia (blue-blind)
#12C1AD
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #40c652; /* rgb */ color: rgb(64, 198, 82); /* oklch */ color: oklch(73.0% 0.195 145.4);
Tailwind
colors: {
custom: {
50: '#86d886',
500: '#40c652',
950: '#000000',
},
}SCSS
$custom: #40c652; $custom-light: #86d886; $custom-dark: #000000;
JSON
{
"hex": "#40c652",
"rgb": {
"r": 64,
"g": 198,
"b": 82
},
"hsl": {
"h": 128.06,
"s": 54.032,
"l": 51.373
},
"oklch": {
"l": 0.72959,
"c": 0.19513,
"h": 145.4
},
"luminance": 0.42087
}Semantic roles & 50–950 ramp
primary
#40C652
secondary
#CE93C7
accent
#4ACADD
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150B
muted
#7D837C