#4ab821
a dark, vivid green · cool · closest name: forestgreen
RGB
74, 184, 33
HSL
104°, 70%, 43%
CMYK
60, 0, 82, 28
Luminance
0.3585
Every format
| HEX | #4ab821 |
| RGB | rgb(74, 184, 33) |
| HSL | hsl(104, 70%, 43%) |
| CMYK | cmyk(60%, 0%, 82%, 28%) |
| LAB | lab(66.4 -56.6 60.9) |
| LCH | lch(66.4 83.1 132.9) |
| OKLCH | oklch(0.692 0.206 139.2) |
Copy-ready code
/* CSS */
color: #4ab821;
background-color: #4ab821;
/* Tailwind (arbitrary) */
class="text-[#4ab821] bg-[#4ab821]"
/* SCSS */
$brand: #4ab821;
/* SwiftUI */
Color(red: 0.290, green: 0.722, blue: 0.129)
/* Android */
Color.parseColor("#4ab821")Accessibility — WCAG contrast
Aa
#4ab821 on white: 2.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#4ab821 on black: 8.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red29.0%
Green72.2%
Blue12.9%
CMYK percentages
Cyan59.8%
Magenta0.0%
Yellow82.1%
Key (black)27.8%
Color previews
#4ab821 text on a black background
contrast 8.17:1
Card sample
#4ab821 text on a white background
contrast 2.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4ab821;
Background color
Panel with #4ab821 background
background-color: #4ab821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4ab821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(74, 184, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 184, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4ab821; background: linear-gradient(135deg, #4ab821, #21B85D);