#4fbe21
a dark, vivid green · cool · closest name: green
RGB
79, 190, 33
HSL
102°, 70%, 44%
CMYK
58, 0, 83, 26
Luminance
0.3860
Every format
| HEX | #4fbe21 |
| RGB | rgb(79, 190, 33) |
| HSL | hsl(102, 70%, 44%) |
| CMYK | cmyk(58%, 0%, 83%, 26%) |
| LAB | lab(68.5 -57.5 62.8) |
| LCH | lch(68.5 85.1 132.5) |
| OKLCH | oklch(0.709 0.210 138.9) |
Copy-ready code
/* CSS */
color: #4fbe21;
background-color: #4fbe21;
/* Tailwind (arbitrary) */
class="text-[#4fbe21] bg-[#4fbe21]"
/* SCSS */
$brand: #4fbe21;
/* SwiftUI */
Color(red: 0.310, green: 0.745, blue: 0.129)
/* Android */
Color.parseColor("#4fbe21")Accessibility — WCAG contrast
Aa
#4fbe21 on white: 2.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#4fbe21 on black: 8.72:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.0%
Green74.5%
Blue12.9%
CMYK percentages
Cyan58.4%
Magenta0.0%
Yellow82.6%
Key (black)25.5%
Color previews
#4fbe21 text on a black background
contrast 8.72:1
Card sample
#4fbe21 text on a white background
contrast 2.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4fbe21;
Background color
Panel with #4fbe21 background
background-color: #4fbe21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4fbe21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(79, 190, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 190, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4fbe21; background: linear-gradient(135deg, #4fbe21, #21BE5C);