#21cb21
a balanced, vivid green · cool · closest name: lime
RGB
33, 203, 33
HSL
120°, 72%, 46%
CMYK
84, 0, 84, 20
Luminance
0.4315
Every format
| HEX | #21cb21 |
| RGB | rgb(33, 203, 33) |
| HSL | hsl(120, 72%, 46%) |
| CMYK | cmyk(84%, 0%, 84%, 20%) |
| LAB | lab(71.7 -69.6 65.3) |
| LCH | lch(71.7 95.5 136.8) |
| OKLCH | oklch(0.733 0.238 142.7) |
Copy-ready code
/* CSS */
color: #21cb21;
background-color: #21cb21;
/* Tailwind (arbitrary) */
class="text-[#21cb21] bg-[#21cb21]"
/* SCSS */
$brand: #21cb21;
/* SwiftUI */
Color(red: 0.129, green: 0.796, blue: 0.129)
/* Android */
Color.parseColor("#21cb21")Accessibility — WCAG contrast
Aa
#21cb21 on white: 2.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#21cb21 on black: 9.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.9%
Green79.6%
Blue12.9%
CMYK percentages
Cyan83.7%
Magenta0.0%
Yellow83.7%
Key (black)20.4%
Color previews
#21cb21 text on a black background
contrast 9.63:1
Card sample
#21cb21 text on a white background
contrast 2.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #21cb21;
Background color
Panel with #21cb21 background
background-color: #21cb21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #21cb21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(33, 203, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 203, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #21cb21; background: linear-gradient(135deg, #21cb21, #21CB92);