#40C562#40C562
#40C562 is a light, vivid green. Relative luminance 0.419; OKLCH L 72.9% C 0.180 H 148.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #40C562 |
|---|---|
| RGB | rgb(64, 197, 98) |
| HSL | hsl(135, 53%, 51%) |
| HSV | hsv(135, 68%, 77%) |
| CMYK | cmyk(67.5%, 0%, 50.3%, 22.7%) |
| CIE-LAB | lab(70.80, -56.88, 39.17) |
| CIE-LCH | lch(70.80, 69.06, 145.45°) |
| OKLab | oklab(72.91% -0.1533 0.0949) |
| OKLCH | oklch(72.91% 0.18 148.3) |
| XYZ | xyz(24.2834, 41.9017, 18.3610) |
| Luminance | 0.4190 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.04
Algae Green
#21C36F
ΔE00 3.29
Emerald
#50C878
ΔE00 3.36
Dark Mint
#48C072
ΔE00 3.45
Cool Green
#33B864
ΔE00 4.10
Dark Mint Green
#20C073
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C562 #C540A3
analogous
#60C540 #40C562 #40C5A4
triadic
#40C562 #6240C5 #C56240
tetradic
#40C562 #4060C5 #C540A3 #C5A440
square
#40C562 #4060C5 #C540A3 #C5A440
split-complementary
#40C562 #A440C5 #C54060
monochromatic
#206A33 #2F994A #40C562 #6FD389 #9EE2AF
Accessibility & contrast
On white
2.24
#40C562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#40C562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C562
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C562 | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#B7A969
Tritanopia (blue-blind)
#00C1AE
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #40c562; /* rgb */ color: rgb(64, 197, 98); /* oklch */ color: oklch(72.9% 0.180 148.3);
Tailwind
colors: {
custom: {
50: '#85d890',
500: '#40c562',
950: '#000000',
},
}SCSS
$custom: #40c562; $custom-light: #85d890; $custom-dark: #000000;
JSON
{
"hex": "#40c562",
"rgb": {
"r": 64,
"g": 197,
"b": 98
},
"hsl": {
"h": 135.338,
"s": 53.414,
"l": 51.176
},
"oklch": {
"l": 0.72915,
"c": 0.18029,
"h": 148.3
},
"luminance": 0.41904
}Semantic roles & 50–950 ramp
primary
#40C562
secondary
#CE93BF
accent
#4BB8DD
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C150D
muted
#7D837E