#40C852#40C852
#40C852 is a light, vivid green. Relative luminance 0.430; OKLCH L 73.5% C 0.198 H 145.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #40C852 |
|---|---|
| RGB | rgb(64, 200, 82) |
| HSL | hsl(128, 55%, 52%) |
| HSV | hsv(128, 68%, 78%) |
| CMYK | cmyk(68%, 0%, 59%, 21.6%) |
| CIE-LAB | lab(71.56, -60.11, 47.67) |
| CIE-LCH | lch(71.56, 76.71, 141.59°) |
| OKLab | oklab(73.48% -0.1624 0.1125) |
| OKLCH | oklch(73.48% 0.198 145.3) |
| XYZ | xyz(24.2900, 43.0051, 15.0017) |
| Luminance | 0.4301 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.86
Lime Green
#32CD32
ΔE00 3.78
Leafy Green
#51B73B
ΔE00 5.17
Fresh Green
#69D84F
ΔE00 5.63
Emerald
#50C878
ΔE00 5.75
Apple
#6ECB3C
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C852 #C840B6
analogous
#72C840 #40C852 #40C896
triadic
#40C852 #5240C8 #C85240
tetradic
#40C852 #4072C8 #C840B6 #C89640
square
#40C852 #4072C8 #C840B6 #C89640
split-complementary
#40C852 #9640C8 #C84072
monochromatic
#206E2A #2D9D3C #40C852 #70D67D #9FE3A8
Accessibility & contrast
On white
2.19
#40C852 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.60
#40C852 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C852
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C852 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C852 | 1.00 | 2.19 | 9.60 | 9.60 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB646
Deuteranopia (green-blind)
#BBAB5C
Tritanopia (blue-blind)
#0FC3AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #40c852; /* rgb */ color: rgb(64, 200, 82); /* oklch */ color: oklch(73.5% 0.198 145.3);
Tailwind
colors: {
custom: {
50: '#86da86',
500: '#40c852',
950: '#000000',
},
}SCSS
$custom: #40c852; $custom-light: #86da86; $custom-dark: #000000;
JSON
{
"hex": "#40c852",
"rgb": {
"r": 64,
"g": 200,
"b": 82
},
"hsl": {
"h": 127.941,
"s": 55.285,
"l": 51.765
},
"oklch": {
"l": 0.73479,
"c": 0.19758,
"h": 145.3
},
"luminance": 0.43008
}Semantic roles & 50–950 ramp
primary
#40C852
secondary
#D094C8
accent
#49CBDF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C