#4cbc21
a dark, vivid green · cool · closest name: green
RGB
76, 188, 33
HSL
103°, 70%, 43%
CMYK
60, 0, 82, 26
Luminance
0.3761
Every format
| HEX | #4cbc21 |
| RGB | rgb(76, 188, 33) |
| HSL | hsl(103, 70%, 43%) |
| CMYK | cmyk(60%, 0%, 82%, 26%) |
| LAB | lab(67.7 -57.5 62.1) |
| LCH | lch(67.7 84.6 132.8) |
| OKLCH | oklch(0.703 0.209 139.2) |
Copy-ready code
/* CSS */
color: #4cbc21;
background-color: #4cbc21;
/* Tailwind (arbitrary) */
class="text-[#4cbc21] bg-[#4cbc21]"
/* SCSS */
$brand: #4cbc21;
/* SwiftUI */
Color(red: 0.298, green: 0.737, blue: 0.129)
/* Android */
Color.parseColor("#4cbc21")Accessibility — WCAG contrast
Aa
#4cbc21 on white: 2.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#4cbc21 on black: 8.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red29.8%
Green73.7%
Blue12.9%
CMYK percentages
Cyan59.6%
Magenta0.0%
Yellow82.4%
Key (black)26.3%
Color previews
#4cbc21 text on a black background
contrast 8.52:1
Card sample
#4cbc21 text on a white background
contrast 2.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4cbc21;
Background color
Panel with #4cbc21 background
background-color: #4cbc21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4cbc21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(76, 188, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(76, 188, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4cbc21; background: linear-gradient(135deg, #4cbc21, #21BC5D);