#40C772#40C772
#40C772 is a light, vivid green. Relative luminance 0.432; OKLCH L 73.7% C 0.168 H 151.8°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #40C772 |
|---|---|
| RGB | rgb(64, 199, 114) |
| HSL | hsl(142, 55%, 52%) |
| HSV | hsv(142, 68%, 78%) |
| CMYK | cmyk(67.8%, 0%, 42.7%, 22%) |
| CIE-LAB | lab(71.66, -55.04, 32.20) |
| CIE-LCH | lch(71.66, 63.77, 149.67°) |
| OKLab | oklab(73.69% -0.1484 0.0796) |
| OKLCH | oklch(73.69% 0.168 151.8) |
| XYZ | xyz(25.5729, 43.1490, 22.8972) |
| Luminance | 0.4315 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.29
Algae Green
#21C36F
ΔE00 1.85
Dark Mint
#48C072
ΔE00 2.01
Dark Mint Green
#20C073
ΔE00 2.86
Seaweed
#18D17B
ΔE00 3.00
Cool Green
#33B864
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C772 #C74095
analogous
#52C740 #40C772 #40C7B6
triadic
#40C772 #7240C7 #C77240
tetradic
#40C772 #4052C7 #C74095 #C7B640
square
#40C772 #4052C7 #C74095 #C7B640
split-complementary
#40C772 #B640C7 #C74052
monochromatic
#206D3C #2E9C57 #40C772 #6FD595 #9FE3B8
Accessibility & contrast
On white
2.18
#40C772 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#40C772 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C772
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C772 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C772 | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B76C
Deuteranopia (green-blind)
#B7AB78
Tritanopia (blue-blind)
#00C4B2
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #40c772; /* rgb */ color: rgb(64, 199, 114); /* oklch */ color: oklch(73.7% 0.168 151.8);
Tailwind
colors: {
custom: {
50: '#85d99b',
500: '#40c772',
950: '#000000',
},
}SCSS
$custom: #40c772; $custom-light: #85d99b; $custom-dark: #000000;
JSON
{
"hex": "#40c772",
"rgb": {
"r": 64,
"g": 199,
"b": 114
},
"hsl": {
"h": 142.222,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.73693,
"c": 0.16839,
"h": 151.8
},
"luminance": 0.43152
}Semantic roles & 50–950 ramp
primary
#40C772
secondary
#CF94B9
accent
#4AA7DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E