#40bc39
a balanced, vivid green · cool · closest name: forestgreen
RGB
64, 188, 57
HSL
117°, 54%, 48%
CMYK
66, 0, 70, 26
Luminance
0.3735
Every format
| HEX | #40bc39 |
| RGB | rgb(64, 188, 57) |
| HSL | hsl(117, 54%, 48%) |
| CMYK | cmyk(66%, 0%, 70%, 26%) |
| LAB | lab(67.5 -58.6 53.9) |
| LCH | lch(67.5 79.6 137.4) |
| OKLCH | oklch(0.701 0.202 142.3) |
Copy-ready code
/* CSS */
color: #40bc39;
background-color: #40bc39;
/* Tailwind (arbitrary) */
class="text-[#40bc39] bg-[#40bc39]"
/* SCSS */
$brand: #40bc39;
/* SwiftUI */
Color(red: 0.251, green: 0.737, blue: 0.224)
/* Android */
Color.parseColor("#40bc39")Accessibility — WCAG contrast
Aa
#40bc39 on white: 2.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#40bc39 on black: 8.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green73.7%
Blue22.4%
CMYK percentages
Cyan66.0%
Magenta0.0%
Yellow69.7%
Key (black)26.3%
Color previews
#40bc39 text on a black background
contrast 8.47:1
Card sample
#40bc39 text on a white background
contrast 2.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #40bc39;
Background color
Panel with #40bc39 background
background-color: #40bc39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #40bc39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 188, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 188, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40bc39; background: linear-gradient(135deg, #40bc39, #39BC89);