#40C661#40C661
#40C661 is a light, vivid green. Relative luminance 0.423; OKLCH L 73.2% C 0.182 H 148.0°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #40C661 |
|---|---|
| RGB | rgb(64, 198, 97) |
| HSL | hsl(135, 54%, 51%) |
| HSV | hsv(135, 68%, 78%) |
| CMYK | cmyk(67.7%, 0%, 51%, 22.4%) |
| CIE-LAB | lab(71.10, -57.39, 40.03) |
| CIE-LCH | lch(71.10, 69.97, 145.11°) |
| OKLab | oklab(73.16% -0.1547 0.0967) |
| OKLCH | oklch(73.16% 0.182 148) |
| XYZ | xyz(24.4643, 42.3386, 18.1898) |
| Luminance | 0.4234 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.99
Emerald
#50C878
ΔE00 3.54
Algae Green
#21C36F
ΔE00 3.57
Dark Mint
#48C072
ΔE00 3.78
Cool Green
#33B864
ΔE00 4.44
Seaweed
#18D17B
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C661 #C640A5
analogous
#62C640 #40C661 #40C6A4
triadic
#40C661 #6140C6 #C66140
tetradic
#40C661 #4062C6 #C640A5 #C6A440
square
#40C661 #4062C6 #C640A5 #C6A440
split-complementary
#40C661 #A440C6 #C64062
monochromatic
#206C33 #2E9B49 #40C661 #6FD488 #9EE2AF
Accessibility & contrast
On white
2.22
#40C661 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#40C661 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C661
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C661 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C661 | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B558
Deuteranopia (green-blind)
#B8AA68
Tritanopia (blue-blind)
#00C2AF
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #40c661; /* rgb */ color: rgb(64, 198, 97); /* oklch */ color: oklch(73.2% 0.182 148.0);
Tailwind
colors: {
custom: {
50: '#85d890',
500: '#40c661',
950: '#000000',
},
}SCSS
$custom: #40c661; $custom-light: #85d890; $custom-dark: #000000;
JSON
{
"hex": "#40c661",
"rgb": {
"r": 64,
"g": 198,
"b": 97
},
"hsl": {
"h": 134.776,
"s": 54.032,
"l": 51.373
},
"oklch": {
"l": 0.73159,
"c": 0.18245,
"h": 148
},
"luminance": 0.42341
}Semantic roles & 50–950 ramp
primary
#40C661
secondary
#CE93C0
accent
#4AB9DD
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150D
muted
#7D837D