#2fb921
a dark, vivid green · cool · closest name: green
RGB
47, 185, 33
HSL
115°, 70%, 43%
CMYK
75, 0, 82, 28
Luminance
0.3541
Every format
| HEX | #2fb921 |
| RGB | rgb(47, 185, 33) |
| HSL | hsl(115, 70%, 43%) |
| CMYK | cmyk(75%, 0%, 82%, 28%) |
| LAB | lab(66.1 -62.4 60.3) |
| LCH | lch(66.1 86.8 136.0) |
| OKLCH | oklch(0.687 0.216 141.9) |
Copy-ready code
/* CSS */
color: #2fb921;
background-color: #2fb921;
/* Tailwind (arbitrary) */
class="text-[#2fb921] bg-[#2fb921]"
/* SCSS */
$brand: #2fb921;
/* SwiftUI */
Color(red: 0.184, green: 0.725, blue: 0.129)
/* Android */
Color.parseColor("#2fb921")Accessibility — WCAG contrast
Aa
#2fb921 on white: 2.60:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2fb921 on black: 8.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.4%
Green72.5%
Blue12.9%
CMYK percentages
Cyan74.6%
Magenta0.0%
Yellow82.2%
Key (black)27.5%
Color previews
#2fb921 text on a black background
contrast 8.08:1
Card sample
#2fb921 text on a white background
contrast 2.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2fb921;
Background color
Panel with #2fb921 background
background-color: #2fb921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2fb921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(47, 185, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 185, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2fb921; background: linear-gradient(135deg, #2fb921, #21B978);