#34ac21
a dark, vivid green · cool · closest name: forestgreen
RGB
52, 172, 33
HSL
112°, 68%, 40%
CMYK
70, 0, 81, 33
Luminance
0.3034
Every format
| HEX | #34ac21 |
| RGB | rgb(52, 172, 33) |
| HSL | hsl(112, 68%, 40%) |
| CMYK | cmyk(70%, 0%, 81%, 33%) |
| LAB | lab(62.0 -57.4 56.5) |
| LCH | lch(62.0 80.5 135.4) |
| OKLCH | oklch(0.653 0.201 141.3) |
Copy-ready code
/* CSS */
color: #34ac21;
background-color: #34ac21;
/* Tailwind (arbitrary) */
class="text-[#34ac21] bg-[#34ac21]"
/* SCSS */
$brand: #34ac21;
/* SwiftUI */
Color(red: 0.204, green: 0.675, blue: 0.129)
/* Android */
Color.parseColor("#34ac21")Accessibility — WCAG contrast
Aa
#34ac21 on white: 2.97:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#34ac21 on black: 7.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.4%
Green67.5%
Blue12.9%
CMYK percentages
Cyan69.8%
Magenta0.0%
Yellow80.8%
Key (black)32.5%
Color previews
#34ac21 text on a black background
contrast 7.07:1
Card sample
#34ac21 text on a white background
contrast 2.97:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #34ac21;
Background color
Panel with #34ac21 background
background-color: #34ac21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #34ac21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(52, 172, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(52, 172, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #34ac21; background: linear-gradient(135deg, #34ac21, #21AC6B);