#40C372#40C372
#40C372 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.7% C 0.163 H 152.3°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #40C372 |
|---|---|
| RGB | rgb(64, 195, 114) |
| HSL | hsl(143, 52%, 51%) |
| HSV | hsv(143, 67%, 76%) |
| CMYK | cmyk(67.2%, 0%, 41.5%, 23.5%) |
| CIE-LAB | lab(70.41, -53.53, 30.57) |
| CIE-LCH | lch(70.41, 61.64, 150.27°) |
| OKLab | oklab(72.67% -0.1444 0.0758) |
| OKLCH | oklch(72.67% 0.163 152.3) |
| XYZ | xyz(24.6647, 41.3325, 22.5944) |
| Luminance | 0.4133 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 0.97
Algae Green
#21C36F
ΔE00 1.45
Emerald
#50C878
ΔE00 1.72
Dark Mint Green
#20C073
ΔE00 2.04
Cool Green
#33B864
ΔE00 3.22
Seaweed
#18D17B
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C372 #C34091
analogous
#4FC340 #40C372 #40C3B3
triadic
#40C372 #7240C3 #C37240
tetradic
#40C372 #404FC3 #C34091 #C3B340
square
#40C372 #404FC3 #C34091 #C3B340
split-complementary
#40C372 #B340C3 #C3404F
monochromatic
#21683C #2F9757 #40C372 #6FD294 #9DE0B7
Accessibility & contrast
On white
2.27
#40C372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#40C372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C372
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C372 | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B36C
Deuteranopia (green-blind)
#B3A877
Tritanopia (blue-blind)
#00C0AF
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #40c372; /* rgb */ color: rgb(64, 195, 114); /* oklch */ color: oklch(72.7% 0.163 152.3);
Tailwind
colors: {
custom: {
50: '#84d69b',
500: '#40c372',
950: '#000000',
},
}SCSS
$custom: #40c372; $custom-light: #84d69b; $custom-dark: #000000;
JSON
{
"hex": "#40c372",
"rgb": {
"r": 64,
"g": 195,
"b": 114
},
"hsl": {
"h": 142.901,
"s": 52.191,
"l": 50.784
},
"oklch": {
"l": 0.72665,
"c": 0.1631,
"h": 152.3
},
"luminance": 0.41335
}Semantic roles & 50–950 ramp
primary
#40C372
secondary
#CC92B6
accent
#4CA5DC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E