#40c01b
a dark, electric green · cool · closest name: green
RGB
64, 192, 27
HSL
107°, 75%, 43%
CMYK
67, 0, 86, 25
Luminance
0.3887
Every format
| HEX | #40c01b |
| RGB | rgb(64, 192, 27) |
| HSL | hsl(107, 75%, 43%) |
| CMYK | cmyk(67%, 0%, 86%, 25%) |
| LAB | lab(68.7 -61.9 64.3) |
| LCH | lch(68.7 89.2 133.9) |
| OKLCH | oklch(0.710 0.221 140.3) |
Copy-ready code
/* CSS */
color: #40c01b;
background-color: #40c01b;
/* Tailwind (arbitrary) */
class="text-[#40c01b] bg-[#40c01b]"
/* SCSS */
$brand: #40c01b;
/* SwiftUI */
Color(red: 0.251, green: 0.753, blue: 0.106)
/* Android */
Color.parseColor("#40c01b")Accessibility — WCAG contrast
Aa
#40c01b on white: 2.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#40c01b on black: 8.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green75.3%
Blue10.6%
CMYK percentages
Cyan66.7%
Magenta0.0%
Yellow85.9%
Key (black)24.7%
Color previews
#40c01b text on a black background
contrast 8.77:1
Card sample
#40c01b text on a white background
contrast 2.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #40c01b;
Background color
Panel with #40c01b background
background-color: #40c01b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #40c01b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 192, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 192, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c01b; background: linear-gradient(135deg, #40c01b, #1BC064);