#40C672#40C672
#40C672 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.4% C 0.167 H 151.9°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #40C672 |
|---|---|
| RGB | rgb(64, 198, 114) |
| HSL | hsl(142, 54%, 51%) |
| HSV | hsv(142, 68%, 78%) |
| CMYK | cmyk(67.7%, 0%, 42.4%, 22.4%) |
| CIE-LAB | lab(71.34, -54.66, 31.79) |
| CIE-LCH | lch(71.34, 63.24, 149.82°) |
| OKLab | oklab(73.44% -0.1474 0.0786) |
| OKLCH | oklch(73.44% 0.167 151.9) |
| XYZ | xyz(25.3436, 42.6903, 22.8207) |
| Luminance | 0.4269 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.32
Algae Green
#21C36F
ΔE00 1.69
Dark Mint
#48C072
ΔE00 1.74
Dark Mint Green
#20C073
ΔE00 2.63
Seaweed
#18D17B
ΔE00 3.18
Cool Green
#33B864
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C672 #C64094
analogous
#51C640 #40C672 #40C6B5
triadic
#40C672 #7240C6 #C67240
tetradic
#40C672 #4051C6 #C64094 #C6B540
square
#40C672 #4051C6 #C64094 #C6B540
split-complementary
#40C672 #B540C6 #C64051
monochromatic
#206C3C #2E9B57 #40C672 #6FD495 #9EE2B8
Accessibility & contrast
On white
2.20
#40C672 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#40C672 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C672
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C672 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C672 | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B66C
Deuteranopia (green-blind)
#B6AA78
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #40c672; /* rgb */ color: rgb(64, 198, 114); /* oklch */ color: oklch(73.4% 0.167 151.9);
Tailwind
colors: {
custom: {
50: '#85d89b',
500: '#40c672',
950: '#000000',
},
}SCSS
$custom: #40c672; $custom-light: #85d89b; $custom-dark: #000000;
JSON
{
"hex": "#40c672",
"rgb": {
"r": 64,
"g": 198,
"b": 114
},
"hsl": {
"h": 142.388,
"s": 54.032,
"l": 51.373
},
"oklch": {
"l": 0.73436,
"c": 0.16707,
"h": 151.9
},
"luminance": 0.42693
}Semantic roles & 50–950 ramp
primary
#40C672
secondary
#CE93B8
accent
#4AA7DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E