#40C462#40C462
#40C462 is a light, vivid green. Relative luminance 0.415; OKLCH L 72.7% C 0.179 H 148.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #40C462 |
|---|---|
| RGB | rgb(64, 196, 98) |
| HSL | hsl(135, 53%, 51%) |
| HSV | hsv(135, 67%, 77%) |
| CMYK | cmyk(67.3%, 0%, 50%, 23.1%) |
| CIE-LAB | lab(70.49, -56.52, 38.78) |
| CIE-LCH | lch(70.49, 68.54, 145.55°) |
| OKLab | oklab(72.66% -0.1524 0.094) |
| OKLCH | oklch(72.66% 0.179 148.3) |
| XYZ | xyz(24.0571, 41.4491, 18.2856) |
| Luminance | 0.4145 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.02
Algae Green
#21C36F
ΔE00 3.17
Dark Mint
#48C072
ΔE00 3.27
Emerald
#50C878
ΔE00 3.34
Cool Green
#33B864
ΔE00 3.83
Dark Mint Green
#20C073
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C462 #C440A2
analogous
#60C440 #40C462 #40C4A4
triadic
#40C462 #6240C4 #C46240
tetradic
#40C462 #4060C4 #C440A2 #C4A440
square
#40C462 #4060C4 #C440A2 #C4A440
split-complementary
#40C462 #A440C4 #C44060
monochromatic
#206933 #2F984A #40C462 #6FD288 #9EE1AF
Accessibility & contrast
On white
2.26
#40C462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#40C462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C462
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C462 | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B35A
Deuteranopia (green-blind)
#B6A869
Tritanopia (blue-blind)
#01C0AD
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #40c462; /* rgb */ color: rgb(64, 196, 98); /* oklch */ color: oklch(72.7% 0.179 148.3);
Tailwind
colors: {
custom: {
50: '#85d790',
500: '#40c462',
950: '#000000',
},
}SCSS
$custom: #40c462; $custom-light: #85d790; $custom-dark: #000000;
JSON
{
"hex": "#40c462",
"rgb": {
"r": 64,
"g": 196,
"b": 98
},
"hsl": {
"h": 135.455,
"s": 52.8,
"l": 50.98
},
"oklch": {
"l": 0.72656,
"c": 0.179,
"h": 148.3
},
"luminance": 0.41452
}Semantic roles & 50–950 ramp
primary
#40C462
secondary
#CD93BE
accent
#4CB7DC
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E