#45b821
a dark, vivid green · cool · closest name: green
RGB
69, 184, 33
HSL
106°, 70%, 43%
CMYK
63, 0, 82, 28
Luminance
0.3566
Every format
| HEX | #45b821 |
| RGB | rgb(69, 184, 33) |
| HSL | hsl(106, 70%, 43%) |
| CMYK | cmyk(63%, 0%, 82%, 28%) |
| LAB | lab(66.3 -57.8 60.7) |
| LCH | lch(66.3 83.8 133.6) |
| OKLCH | oklch(0.690 0.208 139.8) |
Copy-ready code
/* CSS */
color: #45b821;
background-color: #45b821;
/* Tailwind (arbitrary) */
class="text-[#45b821] bg-[#45b821]"
/* SCSS */
$brand: #45b821;
/* SwiftUI */
Color(red: 0.271, green: 0.722, blue: 0.129)
/* Android */
Color.parseColor("#45b821")Accessibility — WCAG contrast
Aa
#45b821 on white: 2.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#45b821 on black: 8.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red27.1%
Green72.2%
Blue12.9%
CMYK percentages
Cyan62.5%
Magenta0.0%
Yellow82.1%
Key (black)27.8%
Color previews
#45b821 text on a black background
contrast 8.13:1
Card sample
#45b821 text on a white background
contrast 2.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #45b821;
Background color
Panel with #45b821 background
background-color: #45b821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #45b821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(69, 184, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(69, 184, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #45b821; background: linear-gradient(135deg, #45b821, #21B862);