#48a621
a dark, vivid green · cool · closest name: forestgreen
RGB
72, 166, 33
HSL
102°, 67%, 39%
CMYK
57, 0, 80, 35
Luminance
0.2876
Every format
| HEX | #48a621 |
| RGB | rgb(72, 166, 33) |
| HSL | hsl(102, 67%, 39%) |
| CMYK | cmyk(57%, 0%, 80%, 35%) |
| LAB | lab(60.6 -50.6 55.4) |
| LCH | lch(60.6 75.1 132.4) |
| OKLCH | oklch(0.643 0.186 138.7) |
Copy-ready code
/* CSS */
color: #48a621;
background-color: #48a621;
/* Tailwind (arbitrary) */
class="text-[#48a621] bg-[#48a621]"
/* SCSS */
$brand: #48a621;
/* SwiftUI */
Color(red: 0.282, green: 0.651, blue: 0.129)
/* Android */
Color.parseColor("#48a621")Accessibility — WCAG contrast
Aa
#48a621 on white: 3.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#48a621 on black: 6.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red28.2%
Green65.1%
Blue12.9%
CMYK percentages
Cyan56.6%
Magenta0.0%
Yellow80.1%
Key (black)34.9%
Color previews
#48a621 text on a black background
contrast 6.75:1
Card sample
#48a621 text on a white background
contrast 3.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #48a621;
Background color
Panel with #48a621 background
background-color: #48a621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #48a621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(72, 166, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(72, 166, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #48a621; background: linear-gradient(135deg, #48a621, #21A653);