#40C56C#40C56C
#40C56C is a light, vivid green. Relative luminance 0.421; OKLCH L 73.1% C 0.171 H 150.5°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #40C56C |
|---|---|
| RGB | rgb(64, 197, 108) |
| HSL | hsl(140, 53%, 51%) |
| HSV | hsv(140, 68%, 77%) |
| CMYK | cmyk(67.5%, 0%, 45.2%, 22.7%) |
| CIE-LAB | lab(70.94, -55.31, 34.34) |
| CIE-LCH | lch(70.94, 65.10, 148.17°) |
| OKLab | oklab(73.08% -0.1491 0.0843) |
| OKLCH | oklch(73.08% 0.171 150.5) |
| XYZ | xyz(24.7854, 42.1025, 21.0048) |
| Luminance | 0.4210 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.97
Algae Green
#21C36F
ΔE00 1.99
Dark Mint
#48C072
ΔE00 2.06
Dark Mint Green
#20C073
ΔE00 3.13
Cool Green
#33B864
ΔE00 3.59
Seaweed
#18D17B
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C56C #C54099
analogous
#56C540 #40C56C #40C5AF
triadic
#40C56C #6C40C5 #C56C40
tetradic
#40C56C #4056C5 #C54099 #C5AF40
square
#40C56C #4056C5 #C54099 #C5AF40
split-complementary
#40C56C #AF40C5 #C54056
monochromatic
#206A39 #2F9952 #40C56C #6FD390 #9EE2B4
Accessibility & contrast
On white
2.23
#40C56C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#40C56C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C56C
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C56C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C56C | 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)
#C6B565
Deuteranopia (green-blind)
#B6A972
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #40c56c; /* rgb */ color: rgb(64, 197, 108); /* oklch */ color: oklch(73.1% 0.171 150.5);
Tailwind
colors: {
custom: {
50: '#85d897',
500: '#40c56c',
950: '#000000',
},
}SCSS
$custom: #40c56c; $custom-light: #85d897; $custom-dark: #000000;
JSON
{
"hex": "#40c56c",
"rgb": {
"r": 64,
"g": 197,
"b": 108
},
"hsl": {
"h": 139.85,
"s": 53.414,
"l": 51.176
},
"oklch": {
"l": 0.73075,
"c": 0.17126,
"h": 150.5
},
"luminance": 0.42105
}Semantic roles & 50–950 ramp
primary
#40C56C
secondary
#CE93BA
accent
#4BADDD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150D
muted
#7D837E