#40C962#40C962
#40C962 is a light, vivid green. Relative luminance 0.437; OKLCH L 74.0% C 0.185 H 148.0°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #40C962 |
|---|---|
| RGB | rgb(64, 201, 98) |
| HSL | hsl(135, 56%, 52%) |
| HSV | hsv(135, 68%, 79%) |
| CMYK | cmyk(68.2%, 0%, 51.2%, 21.2%) |
| CIE-LAB | lab(72.06, -58.32, 40.71) |
| CIE-LCH | lch(72.06, 71.13, 145.08°) |
| OKLab | oklab(73.95% -0.1572 0.0983) |
| OKLCH | oklch(73.95% 0.185 148) |
| XYZ | xyz(25.2037, 43.7424, 18.6678) |
| Luminance | 0.4375 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.35
Emerald
#50C878
ΔE00 3.63
Algae Green
#21C36F
ΔE00 3.93
Dark Mint
#48C072
ΔE00 4.26
Seaweed
#18D17B
ΔE00 4.49
Tealish Green
#0CDC73
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C962 #C940A7
analogous
#62C940 #40C962 #40C9A7
triadic
#40C962 #6240C9 #C96240
tetradic
#40C962 #4062C9 #C940A7 #C9A740
square
#40C962 #4062C9 #C940A7 #C9A740
split-complementary
#40C962 #A740C9 #C94062
monochromatic
#1F6F33 #2D9F49 #40C962 #70D689 #9FE4B0
Accessibility & contrast
On white
2.15
#40C962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#40C962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C962
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C962 | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB859
Deuteranopia (green-blind)
#BAAC6A
Tritanopia (blue-blind)
#00C5B1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #40c962; /* rgb */ color: rgb(64, 201, 98); /* oklch */ color: oklch(74.0% 0.185 148.0);
Tailwind
colors: {
custom: {
50: '#86da91',
500: '#40c962',
950: '#000000',
},
}SCSS
$custom: #40c962; $custom-light: #86da91; $custom-dark: #000000;
JSON
{
"hex": "#40c962",
"rgb": {
"r": 64,
"g": 201,
"b": 98
},
"hsl": {
"h": 134.891,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.7395,
"c": 0.1854,
"h": 148
},
"luminance": 0.43745
}Semantic roles & 50–950 ramp
primary
#40C962
secondary
#D094C2
accent
#49BADF
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E