#4af511
a balanced, electric green · cool · closest name: lime
RGB
74, 245, 17
HSL
105°, 92%, 51%
CMYK
70, 0, 93, 4
Luminance
0.6680
Every format
| HEX | #4af511 |
| RGB | rgb(74, 245, 17) |
| HSL | hsl(105, 92%, 51%) |
| CMYK | cmyk(70%, 0%, 93%, 4%) |
| LAB | lab(85.4 -76.7 80.2) |
| LCH | lch(85.4 111.0 133.8) |
| OKLCH | oklch(0.849 0.273 140.5) |
Copy-ready code
/* CSS */
color: #4af511;
background-color: #4af511;
/* Tailwind (arbitrary) */
class="text-[#4af511] bg-[#4af511]"
/* SCSS */
$brand: #4af511;
/* SwiftUI */
Color(red: 0.290, green: 0.961, blue: 0.067)
/* Android */
Color.parseColor("#4af511")Accessibility — WCAG contrast
Aa
#4af511 on white: 1.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#4af511 on black: 14.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red29.0%
Green96.1%
Blue6.7%
CMYK percentages
Cyan69.8%
Magenta0.0%
Yellow93.1%
Key (black)3.9%
Color previews
#4af511 text on a black background
contrast 14.36:1
Card sample
#4af511 text on a white background
contrast 1.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4af511;
Background color
Panel with #4af511 background
background-color: #4af511;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4af511;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(74, 245, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 245, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4af511; background: linear-gradient(135deg, #4af511, #11F570);