#aaa921
a dark, vivid yellow · cool · closest name: olive
RGB
170, 169, 33
HSL
60°, 68%, 40%
CMYK
0, 1, 81, 33
Luminance
0.3703
Every format
| HEX | #aaa921 |
| RGB | rgb(170, 169, 33) |
| HSL | hsl(60, 68%, 40%) |
| CMYK | cmyk(0%, 1%, 81%, 33%) |
| LAB | lab(67.3 -14.7 63.7) |
| LCH | lch(67.3 65.4 103.0) |
| OKLCH | oklch(0.713 0.146 109.1) |
Copy-ready code
/* CSS */
color: #aaa921;
background-color: #aaa921;
/* Tailwind (arbitrary) */
class="text-[#aaa921] bg-[#aaa921]"
/* SCSS */
$brand: #aaa921;
/* SwiftUI */
Color(red: 0.667, green: 0.663, blue: 0.129)
/* Android */
Color.parseColor("#aaa921")Accessibility — WCAG contrast
Aa
#aaa921 on white: 2.50:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aaa921 on black: 8.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green66.3%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta0.6%
Yellow80.6%
Key (black)33.3%
Color previews
#aaa921 text on a black background
contrast 8.41:1
Card sample
#aaa921 text on a white background
contrast 2.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aaa921;
Background color
Panel with #aaa921 background
background-color: #aaa921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aaa921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 169, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 169, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aaa921; background: linear-gradient(135deg, #aaa921, #50AA21);