#21cf21
a balanced, vivid green · cool · closest name: lime
RGB
33, 207, 33
HSL
120°, 73%, 47%
CMYK
84, 0, 84, 19
Luminance
0.4506
Every format
| HEX | #21cf21 |
| RGB | rgb(33, 207, 33) |
| HSL | hsl(120, 73%, 47%) |
| CMYK | cmyk(84%, 0%, 84%, 19%) |
| LAB | lab(72.9 -70.8 66.5) |
| LCH | lch(72.9 97.1 136.8) |
| OKLCH | oklch(0.744 0.242 142.7) |
Copy-ready code
/* CSS */
color: #21cf21;
background-color: #21cf21;
/* Tailwind (arbitrary) */
class="text-[#21cf21] bg-[#21cf21]"
/* SCSS */
$brand: #21cf21;
/* SwiftUI */
Color(red: 0.129, green: 0.812, blue: 0.129)
/* Android */
Color.parseColor("#21cf21")Accessibility — WCAG contrast
Aa
#21cf21 on white: 2.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#21cf21 on black: 10.01:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.9%
Green81.2%
Blue12.9%
CMYK percentages
Cyan84.1%
Magenta0.0%
Yellow84.1%
Key (black)18.8%
Color previews
#21cf21 text on a black background
contrast 10.01:1
Card sample
#21cf21 text on a white background
contrast 2.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #21cf21;
Background color
Panel with #21cf21 background
background-color: #21cf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #21cf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(33, 207, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 207, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #21cf21; background: linear-gradient(135deg, #21cf21, #21CF95);