#40C660#40C660
#40C660 is a light, vivid green. Relative luminance 0.423; OKLCH L 73.1% C 0.183 H 147.8°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #40C660 |
|---|---|
| RGB | rgb(64, 198, 96) |
| HSL | hsl(134, 54%, 51%) |
| HSV | hsv(134, 68%, 78%) |
| CMYK | cmyk(67.7%, 0%, 51.5%, 22.4%) |
| CIE-LAB | lab(71.09, -57.54, 40.50) |
| CIE-LCH | lch(71.09, 70.36, 144.86°) |
| OKLab | oklab(73.15% -0.1551 0.0977) |
| OKLCH | oklch(73.15% 0.183 147.8) |
| XYZ | xyz(24.4180, 42.3201, 17.9458) |
| Luminance | 0.4232 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.91
Emerald
#50C878
ΔE00 3.69
Algae Green
#21C36F
ΔE00 3.71
Dark Mint
#48C072
ΔE00 3.92
Cool Green
#33B864
ΔE00 4.52
Seaweed
#18D17B
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C660 #C640A6
analogous
#63C640 #40C660 #40C6A3
triadic
#40C660 #6040C6 #C66040
tetradic
#40C660 #4063C6 #C640A6 #C6A340
square
#40C660 #4063C6 #C640A6 #C6A340
split-complementary
#40C660 #A340C6 #C64063
monochromatic
#206C32 #2E9B48 #40C660 #6FD487 #9EE2AE
Accessibility & contrast
On white
2.22
#40C660 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#40C660 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C660
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C660 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C660 | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B557
Deuteranopia (green-blind)
#B8AA67
Tritanopia (blue-blind)
#00C2AF
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #40c660; /* rgb */ color: rgb(64, 198, 96); /* oklch */ color: oklch(73.1% 0.183 147.8);
Tailwind
colors: {
custom: {
50: '#85d88f',
500: '#40c660',
950: '#000000',
},
}SCSS
$custom: #40c660; $custom-light: #85d88f; $custom-dark: #000000;
JSON
{
"hex": "#40c660",
"rgb": {
"r": 64,
"g": 198,
"b": 96
},
"hsl": {
"h": 134.328,
"s": 54.032,
"l": 51.373
},
"oklch": {
"l": 0.73145,
"c": 0.18333,
"h": 147.8
},
"luminance": 0.42323
}Semantic roles & 50–950 ramp
primary
#40C660
secondary
#CE93C0
accent
#4ABADD
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D