#40C146#40C146
#40C146 is a light, vivid green. Relative luminance 0.397; OKLCH L 71.5% C 0.198 H 143.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #40C146 |
|---|---|
| RGB | rgb(64, 193, 70) |
| HSL | hsl(123, 51%, 50%) |
| HSV | hsv(123, 67%, 76%) |
| CMYK | cmyk(66.8%, 0%, 63.7%, 24.3%) |
| CIE-LAB | lab(69.23, -59.06, 50.34) |
| CIE-LCH | lch(69.23, 77.60, 139.56°) |
| OKLab | oklab(71.52% -0.1601 0.1171) |
| OKLCH | oklch(71.52% 0.198 143.8) |
| XYZ | xyz(22.2884, 39.6698, 12.2756) |
| Luminance | 0.3967 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.67
Leafy Green
#51B73B
ΔE00 3.22
Lime Green
#32CD32
ΔE00 3.96
Kelly Green
#4CBB17
ΔE00 4.73
Shamrock
#01B44C
ΔE00 5.10
Apple
#6ECB3C
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C146 #C140BB
analogous
#7AC140 #40C146 #40C187
triadic
#40C146 #4640C1 #C14640
tetradic
#40C146 #407AC1 #C140BB #C18740
square
#40C146 #407AC1 #C140BB #C18740
split-complementary
#40C146 #8740C1 #C1407A
monochromatic
#216624 #309435 #40C146 #6ED073 #9CDFA0
Accessibility & contrast
On white
2.35
#40C146 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#40C146 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C146
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C146 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C146 | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF37
Deuteranopia (green-blind)
#B5A551
Tritanopia (blue-blind)
#1DBCA7
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #40c146; /* rgb */ color: rgb(64, 193, 70); /* oklch */ color: oklch(71.5% 0.198 143.8);
Tailwind
colors: {
custom: {
50: '#85d57e',
500: '#40c146',
950: '#000000',
},
}SCSS
$custom: #40c146; $custom-light: #85d57e; $custom-dark: #000000;
JSON
{
"hex": "#40c146",
"rgb": {
"r": 64,
"g": 193,
"b": 70
},
"hsl": {
"h": 122.791,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.71518,
"c": 0.19835,
"h": 143.8
},
"luminance": 0.39672
}Semantic roles & 50–950 ramp
primary
#40C146
secondary
#CB92C8
accent
#4DD4DA
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C