#40C780#40C780
#40C780 is a light, vivid green. Relative luminance 0.435; OKLCH L 74.0% C 0.156 H 156.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #40C780 |
|---|---|
| RGB | rgb(64, 199, 128) |
| HSL | hsl(148, 55%, 52%) |
| HSV | hsv(148, 68%, 78%) |
| CMYK | cmyk(67.8%, 0%, 35.7%, 22%) |
| CIE-LAB | lab(71.89, -52.47, 25.23) |
| CIE-LCH | lch(71.89, 58.22, 154.32°) |
| OKLab | oklab(73.96% -0.1421 0.0634) |
| OKLCH | oklch(73.96% 0.156 156) |
| XYZ | xyz(26.4316, 43.4925, 27.4198) |
| Luminance | 0.4350 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 2.34
Dark Mint Green
#20C073
ΔE00 2.65
Dark Mint
#48C072
ΔE00 2.73
Algae Green
#21C36F
ΔE00 2.88
Greenish Teal
#32BF84
ΔE00 3.23
Seaweed
#18D17B
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C780 #C74087
analogous
#44C740 #40C780 #40C7C3
triadic
#40C780 #8040C7 #C78040
tetradic
#40C780 #4044C7 #C74087 #C7C340
square
#40C780 #4044C7 #C74087 #C7C340
split-complementary
#40C780 #C340C7 #C74044
monochromatic
#206D44 #2E9C62 #40C780 #6FD59F #9FE3BF
Accessibility & contrast
On white
2.17
#40C780 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#40C780 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C780
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C780 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C780 | 1.00 | 2.17 | 9.70 | 9.70 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B77B
Deuteranopia (green-blind)
#B5AB85
Tritanopia (blue-blind)
#00C5B5
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #40c780; /* rgb */ color: rgb(64, 199, 128); /* oklch */ color: oklch(74.0% 0.156 156.0);
Tailwind
colors: {
custom: {
50: '#85d9a5',
500: '#40c780',
950: '#000000',
},
}SCSS
$custom: #40c780; $custom-light: #85d9a5; $custom-dark: #000000;
JSON
{
"hex": "#40c780",
"rgb": {
"r": 64,
"g": 199,
"b": 128
},
"hsl": {
"h": 148.444,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.7396,
"c": 0.15558,
"h": 156
},
"luminance": 0.43495
}Semantic roles & 50–950 ramp
primary
#40C780
secondary
#CF94B3
accent
#4A98DE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F