#1eac21
a dark, vivid green · cool · closest name: green
RGB
30, 172, 33
HSL
121°, 70%, 40%
CMYK
83, 0, 81, 33
Luminance
0.2989
Every format
| HEX | #1eac21 |
| RGB | rgb(30, 172, 33) |
| HSL | hsl(121, 70%, 40%) |
| CMYK | cmyk(83%, 0%, 81%, 33%) |
| LAB | lab(61.6 -60.8 56.0) |
| LCH | lch(61.6 82.6 137.3) |
| OKLCH | oklch(0.649 0.207 142.9) |
Copy-ready code
/* CSS */
color: #1eac21;
background-color: #1eac21;
/* Tailwind (arbitrary) */
class="text-[#1eac21] bg-[#1eac21]"
/* SCSS */
$brand: #1eac21;
/* SwiftUI */
Color(red: 0.118, green: 0.675, blue: 0.129)
/* Android */
Color.parseColor("#1eac21")Accessibility — WCAG contrast
Aa
#1eac21 on white: 3.01:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#1eac21 on black: 6.98:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red11.8%
Green67.5%
Blue12.9%
CMYK percentages
Cyan82.6%
Magenta0.0%
Yellow80.8%
Key (black)32.5%
Color previews
#1eac21 text on a black background
contrast 6.98:1
Card sample
#1eac21 text on a white background
contrast 3.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1eac21;
Background color
Panel with #1eac21 background
background-color: #1eac21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1eac21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(30, 172, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(30, 172, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1eac21; background: linear-gradient(135deg, #1eac21, #1EAC80);