#3aab21
a dark, vivid green · cool · closest name: forestgreen
RGB
58, 171, 33
HSL
109°, 68%, 40%
CMYK
66, 0, 81, 33
Luminance
0.3014
Every format
| HEX | #3aab21 |
| RGB | rgb(58, 171, 33) |
| HSL | hsl(109, 68%, 40%) |
| CMYK | cmyk(66%, 0%, 81%, 33%) |
| LAB | lab(61.8 -55.8 56.4) |
| LCH | lch(61.8 79.4 134.7) |
| OKLCH | oklch(0.652 0.198 140.7) |
Copy-ready code
/* CSS */
color: #3aab21;
background-color: #3aab21;
/* Tailwind (arbitrary) */
class="text-[#3aab21] bg-[#3aab21]"
/* SCSS */
$brand: #3aab21;
/* SwiftUI */
Color(red: 0.227, green: 0.671, blue: 0.129)
/* Android */
Color.parseColor("#3aab21")Accessibility — WCAG contrast
Aa
#3aab21 on white: 2.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#3aab21 on black: 7.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red22.7%
Green67.1%
Blue12.9%
CMYK percentages
Cyan66.1%
Magenta0.0%
Yellow80.7%
Key (black)32.9%
Color previews
#3aab21 text on a black background
contrast 7.03:1
Card sample
#3aab21 text on a white background
contrast 2.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3aab21;
Background color
Panel with #3aab21 background
background-color: #3aab21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3aab21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(58, 171, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 171, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3aab21; background: linear-gradient(135deg, #3aab21, #21AB64);