#4aff21
a balanced, electric green · cool · closest name: lime
RGB
74, 255, 33
HSL
109°, 100%, 57%
CMYK
71, 0, 87, 0
Luminance
0.7309
Every format
| HEX | #4aff21 |
| RGB | rgb(74, 255, 33) |
| HSL | hsl(109, 100%, 57%) |
| CMYK | cmyk(71%, 0%, 87%, 0%) |
| LAB | lab(88.5 -79.3 80.4) |
| LCH | lch(88.5 112.9 134.6) |
| OKLCH | oklch(0.875 0.279 141.0) |
Copy-ready code
/* CSS */
color: #4aff21;
background-color: #4aff21;
/* Tailwind (arbitrary) */
class="text-[#4aff21] bg-[#4aff21]"
/* SCSS */
$brand: #4aff21;
/* SwiftUI */
Color(red: 0.290, green: 1.000, blue: 0.129)
/* Android */
Color.parseColor("#4aff21")Accessibility — WCAG contrast
Aa
#4aff21 on white: 1.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#4aff21 on black: 15.62:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red29.0%
Green100.0%
Blue12.9%
CMYK percentages
Cyan71.0%
Magenta0.0%
Yellow87.1%
Key (black)0.0%
Color previews
#4aff21 text on a black background
contrast 15.62:1
Card sample
#4aff21 text on a white background
contrast 1.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4aff21;
Background color
Panel with #4aff21 background
background-color: #4aff21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4aff21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(74, 255, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 255, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4aff21; background: linear-gradient(135deg, #4aff21, #21FF8C);