#3a8921
a dark, vivid green · cool · closest name: forestgreen
RGB
58, 137, 33
HSL
106°, 61%, 33%
CMYK
58, 0, 76, 46
Luminance
0.1890
Every format
| HEX | #3a8921 |
| RGB | rgb(58, 137, 33) |
| HSL | hsl(106, 61%, 33%) |
| CMYK | cmyk(58%, 0%, 76%, 46%) |
| LAB | lab(50.6 -43.5 45.6) |
| LCH | lch(50.6 63.0 133.7) |
| OKLCH | oklch(0.559 0.158 139.4) |
Copy-ready code
/* CSS */
color: #3a8921;
background-color: #3a8921;
/* Tailwind (arbitrary) */
class="text-[#3a8921] bg-[#3a8921]"
/* SCSS */
$brand: #3a8921;
/* SwiftUI */
Color(red: 0.227, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#3a8921")Accessibility — WCAG contrast
Aa
#3a8921 on white: 4.39:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#3a8921 on black: 4.78:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red22.7%
Green53.7%
Blue12.9%
CMYK percentages
Cyan57.7%
Magenta0.0%
Yellow75.9%
Key (black)46.3%
Color previews
#3a8921 text on a black background
contrast 4.78:1
Card sample
#3a8921 text on a white background
contrast 4.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3a8921;
Background color
Panel with #3a8921 background
background-color: #3a8921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3a8921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(58, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3a8921; background: linear-gradient(135deg, #3a8921, #21894D);