#40C77C#40C77C
#40C77C is a light, vivid green. Relative luminance 0.434; OKLCH L 73.9% C 0.159 H 154.7°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #40C77C |
|---|---|
| RGB | rgb(64, 199, 124) |
| HSL | hsl(147, 55%, 52%) |
| HSV | hsv(147, 68%, 78%) |
| CMYK | cmyk(67.8%, 0%, 37.7%, 22%) |
| CIE-LAB | lab(71.82, -53.23, 27.24) |
| CIE-LCH | lch(71.82, 59.79, 152.90°) |
| OKLab | oklab(73.88% -0.1439 0.0681) |
| OKLCH | oklch(73.88% 0.159 154.7) |
| XYZ | xyz(26.1735, 43.3892, 26.0604) |
| Luminance | 0.4339 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.70
Dark Mint
#48C072
ΔE00 2.23
Algae Green
#21C36F
ΔE00 2.32
Dark Mint Green
#20C073
ΔE00 2.43
Seaweed
#18D17B
ΔE00 3.03
Greenish Teal
#32BF84
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C77C #C7408B
analogous
#48C740 #40C77C #40C7C0
triadic
#40C77C #7C40C7 #C77C40
tetradic
#40C77C #4048C7 #C7408B #C7C040
square
#40C77C #4048C7 #C7408B #C7C040
split-complementary
#40C77C #C040C7 #C74048
monochromatic
#206D42 #2E9C5F #40C77C #6FD59C #9FE3BD
Accessibility & contrast
On white
2.17
#40C77C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#40C77C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C77C
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C77C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C77C | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B777
Deuteranopia (green-blind)
#B5AB81
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #40c77c; /* rgb */ color: rgb(64, 199, 124); /* oklch */ color: oklch(73.9% 0.159 154.7);
Tailwind
colors: {
custom: {
50: '#85d9a2',
500: '#40c77c',
950: '#000000',
},
}SCSS
$custom: #40c77c; $custom-light: #85d9a2; $custom-dark: #000000;
JSON
{
"hex": "#40c77c",
"rgb": {
"r": 64,
"g": 199,
"b": 124
},
"hsl": {
"h": 146.667,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.7388,
"c": 0.15922,
"h": 154.7
},
"luminance": 0.43392
}Semantic roles & 50–950 ramp
primary
#40C77C
secondary
#CF94B5
accent
#4A9CDE
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F