#30ac21
a dark, vivid green · cool · closest name: green
RGB
48, 172, 33
HSL
114°, 68%, 40%
CMYK
72, 0, 81, 33
Luminance
0.3024
Every format
| HEX | #30ac21 |
| RGB | rgb(48, 172, 33) |
| HSL | hsl(114, 68%, 40%) |
| CMYK | cmyk(72%, 0%, 81%, 33%) |
| LAB | lab(61.9 -58.1 56.4) |
| LCH | lch(61.9 81.0 135.9) |
| OKLCH | oklch(0.652 0.202 141.7) |
Copy-ready code
/* CSS */
color: #30ac21;
background-color: #30ac21;
/* Tailwind (arbitrary) */
class="text-[#30ac21] bg-[#30ac21]"
/* SCSS */
$brand: #30ac21;
/* SwiftUI */
Color(red: 0.188, green: 0.675, blue: 0.129)
/* Android */
Color.parseColor("#30ac21")Accessibility — WCAG contrast
Aa
#30ac21 on white: 2.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#30ac21 on black: 7.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green67.5%
Blue12.9%
CMYK percentages
Cyan72.1%
Magenta0.0%
Yellow80.8%
Key (black)32.5%
Color previews
#30ac21 text on a black background
contrast 7.05:1
Card sample
#30ac21 text on a white background
contrast 2.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #30ac21;
Background color
Panel with #30ac21 background
background-color: #30ac21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #30ac21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 172, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 172, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #30ac21; background: linear-gradient(135deg, #30ac21, #21AC6F);