#a4cd21
a balanced, vivid green · cool · closest name: olivedrab
RGB
164, 205, 33
HSL
74°, 72%, 47%
CMYK
20, 0, 84, 20
Luminance
0.5166
Every format
| HEX | #a4cd21 |
| RGB | rgb(164, 205, 33) |
| HSL | hsl(74, 72%, 47%) |
| CMYK | cmyk(20%, 0%, 84%, 20%) |
| LAB | lab(77.1 -34.8 72.0) |
| LCH | lch(77.1 79.9 115.8) |
| OKLCH | oklch(0.791 0.187 123.3) |
Copy-ready code
/* CSS */
color: #a4cd21;
background-color: #a4cd21;
/* Tailwind (arbitrary) */
class="text-[#a4cd21] bg-[#a4cd21]"
/* SCSS */
$brand: #a4cd21;
/* SwiftUI */
Color(red: 0.643, green: 0.804, blue: 0.129)
/* Android */
Color.parseColor("#a4cd21")Accessibility — WCAG contrast
Aa
#a4cd21 on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a4cd21 on black: 11.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.3%
Green80.4%
Blue12.9%
CMYK percentages
Cyan20.0%
Magenta0.0%
Yellow83.9%
Key (black)19.6%
Color previews
#a4cd21 text on a black background
contrast 11.33:1
Card sample
#a4cd21 text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a4cd21;
Background color
Panel with #a4cd21 background
background-color: #a4cd21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a4cd21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(164, 205, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 205, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a4cd21; background: linear-gradient(135deg, #a4cd21, #31CD21);