#54cc21
a balanced, vivid green · cool · closest name: green
RGB
84, 204, 33
HSL
102°, 72%, 47%
CMYK
59, 0, 84, 20
Luminance
0.4518
Every format
| HEX | #54cc21 |
| RGB | rgb(84, 204, 33) |
| HSL | hsl(102, 72%, 47%) |
| CMYK | cmyk(59%, 0%, 84%, 20%) |
| LAB | lab(73.0 -61.1 67.0) |
| LCH | lch(73.0 90.6 132.4) |
| OKLCH | oklch(0.747 0.224 138.9) |
Copy-ready code
/* CSS */
color: #54cc21;
background-color: #54cc21;
/* Tailwind (arbitrary) */
class="text-[#54cc21] bg-[#54cc21]"
/* SCSS */
$brand: #54cc21;
/* SwiftUI */
Color(red: 0.329, green: 0.800, blue: 0.129)
/* Android */
Color.parseColor("#54cc21")Accessibility — WCAG contrast
Aa
#54cc21 on white: 2.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#54cc21 on black: 10.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.9%
Green80.0%
Blue12.9%
CMYK percentages
Cyan58.8%
Magenta0.0%
Yellow83.8%
Key (black)20.0%
Color previews
#54cc21 text on a black background
contrast 10.04:1
Card sample
#54cc21 text on a white background
contrast 2.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #54cc21;
Background color
Panel with #54cc21 background
background-color: #54cc21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #54cc21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(84, 204, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 204, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #54cc21; background: linear-gradient(135deg, #54cc21, #21CC60);