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