#40C770#40C770
#40C770 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.7% C 0.170 H 151.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #40C770 |
|---|---|
| RGB | rgb(64, 199, 112) |
| HSL | hsl(141, 55%, 52%) |
| HSV | hsv(141, 68%, 78%) |
| CMYK | cmyk(67.8%, 0%, 43.7%, 22%) |
| CIE-LAB | lab(71.63, -55.38, 33.18) |
| CIE-LCH | lch(71.63, 64.56, 149.07°) |
| OKLab | oklab(73.66% -0.1493 0.0818) |
| OKLCH | oklch(73.66% 0.17 151.3) |
| XYZ | xyz(25.4603, 43.1039, 22.3042) |
| Luminance | 0.4311 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.49
Algae Green
#21C36F
ΔE00 1.96
Dark Mint
#48C072
ΔE00 2.15
Dark Mint Green
#20C073
ΔE00 3.07
Seaweed
#18D17B
ΔE00 3.12
Cool Green
#33B864
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C770 #C74097
analogous
#54C740 #40C770 #40C7B3
triadic
#40C770 #7040C7 #C77040
tetradic
#40C770 #4054C7 #C74097 #C7B340
square
#40C770 #4054C7 #C74097 #C7B340
split-complementary
#40C770 #B340C7 #C74054
monochromatic
#206D3B #2E9C55 #40C770 #6FD593 #9FE3B7
Accessibility & contrast
On white
2.18
#40C770 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#40C770 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C770
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C770 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C770 | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B76A
Deuteranopia (green-blind)
#B7AB76
Tritanopia (blue-blind)
#00C4B2
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #40c770; /* rgb */ color: rgb(64, 199, 112); /* oklch */ color: oklch(73.7% 0.170 151.3);
Tailwind
colors: {
custom: {
50: '#85d99a',
500: '#40c770',
950: '#000000',
},
}SCSS
$custom: #40c770; $custom-light: #85d99a; $custom-dark: #000000;
JSON
{
"hex": "#40c770",
"rgb": {
"r": 64,
"g": 199,
"b": 112
},
"hsl": {
"h": 141.333,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.73658,
"c": 0.17023,
"h": 151.3
},
"luminance": 0.43107
}Semantic roles & 50–950 ramp
primary
#40C770
secondary
#CF94BA
accent
#4AA9DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E