#16af21
a dark, electric green · cool · closest name: green
RGB
22, 175, 33
HSL
124°, 78%, 39%
CMYK
87, 0, 81, 31
Luminance
0.3094
Every format
| HEX | #16af21 |
| RGB | rgb(22, 175, 33) |
| HSL | hsl(124, 78%, 39%) |
| CMYK | cmyk(87%, 0%, 81%, 31%) |
| LAB | lab(62.5 -62.5 56.8) |
| LCH | lch(62.5 84.5 137.7) |
| OKLCH | oklch(0.656 0.211 143.2) |
Copy-ready code
/* CSS */
color: #16af21;
background-color: #16af21;
/* Tailwind (arbitrary) */
class="text-[#16af21] bg-[#16af21]"
/* SCSS */
$brand: #16af21;
/* SwiftUI */
Color(red: 0.086, green: 0.686, blue: 0.129)
/* Android */
Color.parseColor("#16af21")Accessibility — WCAG contrast
Aa
#16af21 on white: 2.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#16af21 on black: 7.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.6%
Green68.6%
Blue12.9%
CMYK percentages
Cyan87.4%
Magenta0.0%
Yellow81.1%
Key (black)31.4%
Color previews
#16af21 text on a black background
contrast 7.19:1
Card sample
#16af21 text on a white background
contrast 2.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #16af21;
Background color
Panel with #16af21 background
background-color: #16af21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #16af21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(22, 175, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 175, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #16af21; background: linear-gradient(135deg, #16af21, #16AF87);