#4aac21
a dark, vivid green · cool · closest name: forestgreen
RGB
74, 172, 33
HSL
102°, 68%, 40%
CMYK
57, 0, 81, 33
Luminance
0.3107
Every format
| HEX | #4aac21 |
| RGB | rgb(74, 172, 33) |
| HSL | hsl(102, 68%, 40%) |
| CMYK | cmyk(57%, 0%, 81%, 33%) |
| LAB | lab(62.6 -52.3 57.3) |
| LCH | lch(62.6 77.6 132.4) |
| OKLCH | oklch(0.660 0.192 138.7) |
Copy-ready code
/* CSS */
color: #4aac21;
background-color: #4aac21;
/* Tailwind (arbitrary) */
class="text-[#4aac21] bg-[#4aac21]"
/* SCSS */
$brand: #4aac21;
/* SwiftUI */
Color(red: 0.290, green: 0.675, blue: 0.129)
/* Android */
Color.parseColor("#4aac21")Accessibility — WCAG contrast
Aa
#4aac21 on white: 2.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#4aac21 on black: 7.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red29.0%
Green67.5%
Blue12.9%
CMYK percentages
Cyan57.0%
Magenta0.0%
Yellow80.8%
Key (black)32.5%
Color previews
#4aac21 text on a black background
contrast 7.21:1
Card sample
#4aac21 text on a white background
contrast 2.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4aac21;
Background color
Panel with #4aac21 background
background-color: #4aac21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4aac21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(74, 172, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 172, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4aac21; background: linear-gradient(135deg, #4aac21, #21AC55);