#40C960#40C960
#40C960 is a light, vivid green. Relative luminance 0.437; OKLCH L 73.9% C 0.187 H 147.6°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #40C960 |
|---|---|
| RGB | rgb(64, 201, 96) |
| HSL | hsl(134, 56%, 52%) |
| HSV | hsv(134, 68%, 79%) |
| CMYK | cmyk(68.2%, 0%, 52.2%, 21.2%) |
| CIE-LAB | lab(72.03, -58.61, 41.65) |
| CIE-LCH | lch(72.03, 71.91, 144.60°) |
| OKLab | oklab(73.92% -0.158 0.1003) |
| OKLCH | oklch(73.92% 0.187 147.6) |
| XYZ | xyz(25.1105, 43.7051, 18.1766) |
| Luminance | 0.4371 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.22
Emerald
#50C878
ΔE00 3.92
Algae Green
#21C36F
ΔE00 4.19
Dark Mint
#48C072
ΔE00 4.51
Seaweed
#18D17B
ΔE00 4.75
Tealish Green
#0CDC73
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C960 #C940A9
analogous
#64C940 #40C960 #40C9A5
triadic
#40C960 #6040C9 #C96040
tetradic
#40C960 #4064C9 #C940A9 #C9A540
square
#40C960 #4064C9 #C940A9 #C9A540
split-complementary
#40C960 #A540C9 #C94064
monochromatic
#1F6F32 #2D9F48 #40C960 #70D688 #9FE4AF
Accessibility & contrast
On white
2.16
#40C960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#40C960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C960
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C960 | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB857
Deuteranopia (green-blind)
#BBAC68
Tritanopia (blue-blind)
#00C5B1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #40c960; /* rgb */ color: rgb(64, 201, 96); /* oklch */ color: oklch(73.9% 0.187 147.6);
Tailwind
colors: {
custom: {
50: '#86da8f',
500: '#40c960',
950: '#000000',
},
}SCSS
$custom: #40c960; $custom-light: #86da8f; $custom-dark: #000000;
JSON
{
"hex": "#40c960",
"rgb": {
"r": 64,
"g": 201,
"b": 96
},
"hsl": {
"h": 134.015,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.73921,
"c": 0.18714,
"h": 147.6
},
"luminance": 0.43708
}Semantic roles & 50–950 ramp
primary
#40C960
secondary
#D094C2
accent
#49BCDF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150D
muted
#7D837D