#4afa21
a balanced, electric green · cool · closest name: lime
RGB
74, 250, 33
HSL
109°, 96%, 56%
CMYK
70, 0, 87, 2
Luminance
0.6994
Every format
| HEX | #4afa21 |
| RGB | rgb(74, 250, 33) |
| HSL | hsl(109, 96%, 56%) |
| CMYK | cmyk(70%, 0%, 87%, 2%) |
| LAB | lab(87.0 -77.8 79.1) |
| LCH | lch(87.0 111.0 134.5) |
| OKLCH | oklch(0.862 0.274 140.9) |
Copy-ready code
/* CSS */
color: #4afa21;
background-color: #4afa21;
/* Tailwind (arbitrary) */
class="text-[#4afa21] bg-[#4afa21]"
/* SCSS */
$brand: #4afa21;
/* SwiftUI */
Color(red: 0.290, green: 0.980, blue: 0.129)
/* Android */
Color.parseColor("#4afa21")Accessibility — WCAG contrast
Aa
#4afa21 on white: 1.40:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#4afa21 on black: 14.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red29.0%
Green98.0%
Blue12.9%
CMYK percentages
Cyan70.4%
Magenta0.0%
Yellow86.8%
Key (black)2.0%
Color previews
#4afa21 text on a black background
contrast 14.99:1
Card sample
#4afa21 text on a white background
contrast 1.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4afa21;
Background color
Panel with #4afa21 background
background-color: #4afa21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4afa21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(74, 250, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 250, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4afa21; background: linear-gradient(135deg, #4afa21, #21FA89);