#51c01d
a dark, vivid green · cool · closest name: green
RGB
81, 192, 29
HSL
101°, 74%, 43%
CMYK
58, 0, 85, 25
Luminance
0.3954
Every format
| HEX | #51c01d |
| RGB | rgb(81, 192, 29) |
| HSL | hsl(101, 74%, 43%) |
| CMYK | cmyk(58%, 0%, 85%, 25%) |
| LAB | lab(69.1 -57.8 64.4) |
| LCH | lch(69.1 86.6 131.9) |
| OKLCH | oklch(0.715 0.213 138.5) |
Copy-ready code
/* CSS */
color: #51c01d;
background-color: #51c01d;
/* Tailwind (arbitrary) */
class="text-[#51c01d] bg-[#51c01d]"
/* SCSS */
$brand: #51c01d;
/* SwiftUI */
Color(red: 0.318, green: 0.753, blue: 0.114)
/* Android */
Color.parseColor("#51c01d")Accessibility — WCAG contrast
Aa
#51c01d on white: 2.36:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#51c01d on black: 8.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.8%
Green75.3%
Blue11.4%
CMYK percentages
Cyan57.8%
Magenta0.0%
Yellow84.9%
Key (black)24.7%
Color previews
#51c01d text on a black background
contrast 8.91:1
Card sample
#51c01d text on a white background
contrast 2.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #51c01d;
Background color
Panel with #51c01d background
background-color: #51c01d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #51c01d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(81, 192, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 192, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #51c01d; background: linear-gradient(135deg, #51c01d, #1DC056);