#3aaf21
a dark, vivid green · cool · closest name: forestgreen
RGB
58, 175, 33
HSL
109°, 68%, 41%
CMYK
67, 0, 81, 31
Luminance
0.3167
Every format
| HEX | #3aaf21 |
| RGB | rgb(58, 175, 33) |
| HSL | hsl(109, 68%, 41%) |
| CMYK | cmyk(67%, 0%, 81%, 31%) |
| LAB | lab(63.1 -57.2 57.6) |
| LCH | lch(63.1 81.2 134.8) |
| OKLCH | oklch(0.663 0.202 140.8) |
Copy-ready code
/* CSS */
color: #3aaf21;
background-color: #3aaf21;
/* Tailwind (arbitrary) */
class="text-[#3aaf21] bg-[#3aaf21]"
/* SCSS */
$brand: #3aaf21;
/* SwiftUI */
Color(red: 0.227, green: 0.686, blue: 0.129)
/* Android */
Color.parseColor("#3aaf21")Accessibility — WCAG contrast
Aa
#3aaf21 on white: 2.86:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#3aaf21 on black: 7.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red22.7%
Green68.6%
Blue12.9%
CMYK percentages
Cyan66.9%
Magenta0.0%
Yellow81.1%
Key (black)31.4%
Color previews
#3aaf21 text on a black background
contrast 7.33:1
Card sample
#3aaf21 text on a white background
contrast 2.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3aaf21;
Background color
Panel with #3aaf21 background
background-color: #3aaf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3aaf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(58, 175, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 175, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3aaf21; background: linear-gradient(135deg, #3aaf21, #21AF67);