#40C670#40C670
#40C670 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.4% C 0.169 H 151.4°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #40C670 |
|---|---|
| RGB | rgb(64, 198, 112) |
| HSL | hsl(141, 54%, 51%) |
| HSV | hsv(141, 68%, 78%) |
| CMYK | cmyk(67.7%, 0%, 43.4%, 22.4%) |
| CIE-LAB | lab(71.31, -55.01, 32.78) |
| CIE-LCH | lch(71.31, 64.03, 149.21°) |
| OKLab | oklab(73.4% -0.1483 0.0808) |
| OKLCH | oklch(73.4% 0.169 151.4) |
| XYZ | xyz(25.2310, 42.6453, 22.2278) |
| Luminance | 0.4265 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.49
Algae Green
#21C36F
ΔE00 1.79
Dark Mint
#48C072
ΔE00 1.88
Dark Mint Green
#20C073
ΔE00 2.84
Seaweed
#18D17B
ΔE00 3.29
Cool Green
#33B864
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C670 #C64096
analogous
#53C640 #40C670 #40C6B3
triadic
#40C670 #7040C6 #C67040
tetradic
#40C670 #4053C6 #C64096 #C6B340
square
#40C670 #4053C6 #C64096 #C6B340
split-complementary
#40C670 #B340C6 #C64053
monochromatic
#206C3B #2E9B55 #40C670 #6FD493 #9EE2B7
Accessibility & contrast
On white
2.20
#40C670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#40C670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C670
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C670 | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B66A
Deuteranopia (green-blind)
#B6AA76
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #40c670; /* rgb */ color: rgb(64, 198, 112); /* oklch */ color: oklch(73.4% 0.169 151.4);
Tailwind
colors: {
custom: {
50: '#85d89a',
500: '#40c670',
950: '#000000',
},
}SCSS
$custom: #40c670; $custom-light: #85d89a; $custom-dark: #000000;
JSON
{
"hex": "#40c670",
"rgb": {
"r": 64,
"g": 198,
"b": 112
},
"hsl": {
"h": 141.493,
"s": 54.032,
"l": 51.373
},
"oklch": {
"l": 0.73401,
"c": 0.16891,
"h": 151.4
},
"luminance": 0.42648
}Semantic roles & 50–950 ramp
primary
#40C670
secondary
#CE93B9
accent
#4AA9DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E