#4aba21
a dark, vivid green · cool · closest name: green
RGB
74, 186, 33
HSL
104°, 70%, 43%
CMYK
60, 0, 82, 27
Luminance
0.3668
Every format
| HEX | #4aba21 |
| RGB | rgb(74, 186, 33) |
| HSL | hsl(104, 70%, 43%) |
| CMYK | cmyk(60%, 0%, 82%, 27%) |
| LAB | lab(67.0 -57.3 61.4) |
| LCH | lch(67.0 84.0 133.0) |
| OKLCH | oklch(0.697 0.208 139.3) |
Copy-ready code
/* CSS */
color: #4aba21;
background-color: #4aba21;
/* Tailwind (arbitrary) */
class="text-[#4aba21] bg-[#4aba21]"
/* SCSS */
$brand: #4aba21;
/* SwiftUI */
Color(red: 0.290, green: 0.729, blue: 0.129)
/* Android */
Color.parseColor("#4aba21")Accessibility — WCAG contrast
Aa
#4aba21 on white: 2.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#4aba21 on black: 8.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red29.0%
Green72.9%
Blue12.9%
CMYK percentages
Cyan60.2%
Magenta0.0%
Yellow82.3%
Key (black)27.1%
Color previews
#4aba21 text on a black background
contrast 8.34:1
Card sample
#4aba21 text on a white background
contrast 2.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4aba21;
Background color
Panel with #4aba21 background
background-color: #4aba21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4aba21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(74, 186, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 186, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4aba21; background: linear-gradient(135deg, #4aba21, #21BA5E);