#aacc21
a balanced, vivid green · cool · closest name: yellow
RGB
170, 204, 33
HSL
72°, 72%, 47%
CMYK
17, 0, 84, 20
Luminance
0.5184
Every format
| HEX | #aacc21 |
| RGB | rgb(170, 204, 33) |
| HSL | hsl(72, 72%, 47%) |
| CMYK | cmyk(17%, 0%, 84%, 20%) |
| LAB | lab(77.2 -31.9 72.2) |
| LCH | lch(77.2 78.9 113.8) |
| OKLCH | oklch(0.792 0.183 121.3) |
Copy-ready code
/* CSS */
color: #aacc21;
background-color: #aacc21;
/* Tailwind (arbitrary) */
class="text-[#aacc21] bg-[#aacc21]"
/* SCSS */
$brand: #aacc21;
/* SwiftUI */
Color(red: 0.667, green: 0.800, blue: 0.129)
/* Android */
Color.parseColor("#aacc21")Accessibility — WCAG contrast
Aa
#aacc21 on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aacc21 on black: 11.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green80.0%
Blue12.9%
CMYK percentages
Cyan16.7%
Magenta0.0%
Yellow83.8%
Key (black)20.0%
Color previews
#aacc21 text on a black background
contrast 11.37:1
Card sample
#aacc21 text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aacc21;
Background color
Panel with #aacc21 background
background-color: #aacc21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aacc21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 204, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 204, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aacc21; background: linear-gradient(135deg, #aacc21, #38CC21);