#50ab21
a dark, vivid green · cool · closest name: forestgreen
RGB
80, 171, 33
HSL
100°, 68%, 40%
CMYK
53, 0, 81, 33
Luminance
0.3094
Every format
| HEX | #50ab21 |
| RGB | rgb(80, 171, 33) |
| HSL | hsl(100, 68%, 40%) |
| CMYK | cmyk(53%, 0%, 81%, 33%) |
| LAB | lab(62.5 -50.3 57.3) |
| LCH | lch(62.5 76.2 131.3) |
| OKLCH | oklch(0.660 0.188 137.7) |
Copy-ready code
/* CSS */
color: #50ab21;
background-color: #50ab21;
/* Tailwind (arbitrary) */
class="text-[#50ab21] bg-[#50ab21]"
/* SCSS */
$brand: #50ab21;
/* SwiftUI */
Color(red: 0.314, green: 0.671, blue: 0.129)
/* Android */
Color.parseColor("#50ab21")Accessibility — WCAG contrast
Aa
#50ab21 on white: 2.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#50ab21 on black: 7.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.4%
Green67.1%
Blue12.9%
CMYK percentages
Cyan53.2%
Magenta0.0%
Yellow80.7%
Key (black)32.9%
Color previews
#50ab21 text on a black background
contrast 7.19:1
Card sample
#50ab21 text on a white background
contrast 2.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #50ab21;
Background color
Panel with #50ab21 background
background-color: #50ab21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #50ab21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(80, 171, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 171, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #50ab21; background: linear-gradient(135deg, #50ab21, #21AB4E);