#40AB56#40AB56
#40AB56 is a light, vivid green. Relative luminance 0.309; OKLCH L 65.9% C 0.157 H 147.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #40AB56 |
|---|---|
| RGB | rgb(64, 171, 86) |
| HSL | hsl(132, 46%, 46%) |
| HSV | hsv(132, 63%, 67%) |
| CMYK | cmyk(62.6%, 0%, 49.7%, 32.9%) |
| CIE-LAB | lab(62.41, -48.97, 34.74) |
| CIE-LCH | lch(62.41, 60.04, 144.65°) |
| OKLab | oklab(65.94% -0.1323 0.0843) |
| OKLCH | oklch(65.94% 0.157 147.5) |
| XYZ | xyz(18.3557, 30.8859, 13.7965) |
| Luminance | 0.3089 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Medium Green
#39AD48
ΔE00 2.43
Dark Pastel Green
#56AE57
ΔE00 2.43
Mid Green
#50A747
ΔE00 3.31
Algae
#54AC68
ΔE00 3.34
Shamrock
#01B44C
ΔE00 3.82
Cool Green
#33B864
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40AB56 #AB4095
analogous
#5FAB40 #40AB56 #40AB8B
triadic
#40AB56 #5640AB #AB5640
tetradic
#40AB56 #405FAB #AB4095 #AB8B40
square
#40AB56 #405FAB #AB4095 #AB8B40
split-complementary
#40AB56 #8B40AB #AB405F
monochromatic
#1F5229 #2F7E40 #40AB56 #63C577 #90D59E
Accessibility & contrast
On white
2.93
#40AB56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#40AB56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40AB56
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40AB56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40AB56 | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9D4F
Deuteranopia (green-blind)
#9F935C
Tritanopia (blue-blind)
#23A797
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #40ab56; /* rgb */ color: rgb(64, 171, 86); /* oklch */ color: oklch(65.9% 0.157 147.5);
Tailwind
colors: {
custom: {
50: '#80c587',
500: '#40ab56',
950: '#000000',
},
}SCSS
$custom: #40ab56; $custom-light: #80c587; $custom-dark: #000000;
JSON
{
"hex": "#40ab56",
"rgb": {
"r": 64,
"g": 171,
"b": 86
},
"hsl": {
"h": 132.336,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.65941,
"c": 0.15686,
"h": 147.5
},
"luminance": 0.30888
}Semantic roles & 50–950 ramp
primary
#40AB56
secondary
#C186B5
accent
#53BAD5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C