#aad521
a balanced, vivid green · cool · closest name: yellow
RGB
170, 213, 33
HSL
74°, 73%, 48%
CMYK
20, 0, 85, 17
Luminance
0.5624
Every format
| HEX | #aad521 |
| RGB | rgb(170, 213, 33) |
| HSL | hsl(74, 73%, 48%) |
| CMYK | cmyk(20%, 0%, 85%, 17%) |
| LAB | lab(79.8 -36.0 74.4) |
| LCH | lch(79.8 82.7 115.8) |
| OKLCH | oklch(0.813 0.193 123.4) |
Copy-ready code
/* CSS */
color: #aad521;
background-color: #aad521;
/* Tailwind (arbitrary) */
class="text-[#aad521] bg-[#aad521]"
/* SCSS */
$brand: #aad521;
/* SwiftUI */
Color(red: 0.667, green: 0.835, blue: 0.129)
/* Android */
Color.parseColor("#aad521")Accessibility — WCAG contrast
Aa
#aad521 on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aad521 on black: 12.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green83.5%
Blue12.9%
CMYK percentages
Cyan20.2%
Magenta0.0%
Yellow84.5%
Key (black)16.5%
Color previews
#aad521 text on a black background
contrast 12.25:1
Card sample
#aad521 text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aad521;
Background color
Panel with #aad521 background
background-color: #aad521;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aad521;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 213, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 213, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aad521; background: linear-gradient(135deg, #aad521, #32D521);