#40C261#40C261
#40C261 is a light, vivid green. Relative luminance 0.405; OKLCH L 72.1% C 0.177 H 148.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #40C261 |
|---|---|
| RGB | rgb(64, 194, 97) |
| HSL | hsl(135, 52%, 51%) |
| HSV | hsv(135, 67%, 76%) |
| CMYK | cmyk(67%, 0%, 50%, 23.9%) |
| CIE-LAB | lab(69.85, -55.94, 38.47) |
| CIE-LCH | lch(69.85, 67.89, 145.48°) |
| OKLab | oklab(72.12% -0.1508 0.0932) |
| OKLCH | oklch(72.12% 0.177 148.3) |
| XYZ | xyz(23.5621, 40.5341, 17.8891) |
| Luminance | 0.4054 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.94
Dark Mint
#48C072
ΔE00 3.11
Algae Green
#21C36F
ΔE00 3.13
Cool Green
#33B864
ΔE00 3.38
Emerald
#50C878
ΔE00 3.51
Dark Mint Green
#20C073
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C261 #C240A1
analogous
#60C240 #40C261 #40C2A2
triadic
#40C261 #6140C2 #C26140
tetradic
#40C261 #4060C2 #C240A1 #C2A240
square
#40C261 #4060C2 #C240A1 #C2A240
split-complementary
#40C261 #A240C2 #C24060
monochromatic
#216733 #309549 #40C261 #6ED187 #9DE0AE
Accessibility & contrast
On white
2.31
#40C261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#40C261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C261
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C261 | 1.00 | 2.31 | 9.11 | 9.11 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B159
Deuteranopia (green-blind)
#B4A668
Tritanopia (blue-blind)
#05BEAB
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #40c261; /* rgb */ color: rgb(64, 194, 97); /* oklch */ color: oklch(72.1% 0.177 148.3);
Tailwind
colors: {
custom: {
50: '#84d590',
500: '#40c261',
950: '#000000',
},
}SCSS
$custom: #40c261; $custom-light: #84d590; $custom-dark: #000000;
JSON
{
"hex": "#40c261",
"rgb": {
"r": 64,
"g": 194,
"b": 97
},
"hsl": {
"h": 135.231,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.72123,
"c": 0.17731,
"h": 148.3
},
"luminance": 0.40537
}Semantic roles & 50–950 ramp
primary
#40C261
secondary
#CC92BD
accent
#4DB7DB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140D
muted
#7D837D