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