#3fab21
a dark, vivid green · cool · closest name: forestgreen
RGB
63, 171, 33
HSL
107°, 68%, 40%
CMYK
63, 0, 81, 33
Luminance
0.3029
Every format
| HEX | #3fab21 |
| RGB | rgb(63, 171, 33) |
| HSL | hsl(107, 68%, 40%) |
| CMYK | cmyk(63%, 0%, 81%, 33%) |
| LAB | lab(61.9 -54.7 56.6) |
| LCH | lch(61.9 78.7 134.0) |
| OKLCH | oklch(0.654 0.196 140.1) |
Copy-ready code
/* CSS */
color: #3fab21;
background-color: #3fab21;
/* Tailwind (arbitrary) */
class="text-[#3fab21] bg-[#3fab21]"
/* SCSS */
$brand: #3fab21;
/* SwiftUI */
Color(red: 0.247, green: 0.671, blue: 0.129)
/* Android */
Color.parseColor("#3fab21")Accessibility — WCAG contrast
Aa
#3fab21 on white: 2.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#3fab21 on black: 7.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red24.7%
Green67.1%
Blue12.9%
CMYK percentages
Cyan63.2%
Magenta0.0%
Yellow80.7%
Key (black)32.9%
Color previews
#3fab21 text on a black background
contrast 7.06:1
Card sample
#3fab21 text on a white background
contrast 2.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3fab21;
Background color
Panel with #3fab21 background
background-color: #3fab21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3fab21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(63, 171, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 171, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3fab21; background: linear-gradient(135deg, #3fab21, #21AB5F);