#40C972#40C972
#40C972 is a light, vivid green. Relative luminance 0.441; OKLCH L 74.2% C 0.171 H 151.6°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #40C972 |
|---|---|
| RGB | rgb(64, 201, 114) |
| HSL | hsl(142, 56%, 52%) |
| HSV | hsv(142, 68%, 79%) |
| CMYK | cmyk(68.2%, 0%, 43.3%, 21.2%) |
| CIE-LAB | lab(72.28, -55.79, 33.00) |
| CIE-LCH | lch(72.28, 64.82, 149.39°) |
| OKLab | oklab(74.21% -0.1504 0.0814) |
| OKLCH | oklch(74.21% 0.171 151.6) |
| XYZ | xyz(26.0361, 44.0753, 23.0516) |
| Luminance | 0.4408 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.40
Algae Green
#21C36F
ΔE00 2.24
Dark Mint
#48C072
ΔE00 2.55
Seaweed
#18D17B
ΔE00 2.69
Dark Mint Green
#20C073
ΔE00 3.33
Cool Green
#33B864
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C972 #C94097
analogous
#53C940 #40C972 #40C9B7
triadic
#40C972 #7240C9 #C97240
tetradic
#40C972 #4053C9 #C94097 #C9B740
square
#40C972 #4053C9 #C94097 #C9B740
split-complementary
#40C972 #B740C9 #C94053
monochromatic
#1F6F3D #2D9F57 #40C972 #70D695 #9FE4B8
Accessibility & contrast
On white
2.14
#40C972 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#40C972 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C972
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C972 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C972 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB86C
Deuteranopia (green-blind)
#B9AC78
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #40c972; /* rgb */ color: rgb(64, 201, 114); /* oklch */ color: oklch(74.2% 0.171 151.6);
Tailwind
colors: {
custom: {
50: '#85da9b',
500: '#40c972',
950: '#000000',
},
}SCSS
$custom: #40c972; $custom-light: #85da9b; $custom-dark: #000000;
JSON
{
"hex": "#40c972",
"rgb": {
"r": 64,
"g": 201,
"b": 114
},
"hsl": {
"h": 141.898,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.74207,
"c": 0.17102,
"h": 151.6
},
"luminance": 0.44078
}Semantic roles & 50–950 ramp
primary
#40C972
secondary
#D094BA
accent
#49A8DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E