#aa9a21
a dark, vivid yellow · cool · closest name: olive
RGB
170, 154, 33
HSL
53°, 68%, 40%
CMYK
0, 9, 81, 33
Luminance
0.3177
Every format
| HEX | #aa9a21 |
| RGB | rgb(170, 154, 33) |
| HSL | hsl(53, 68%, 40%) |
| CMYK | cmyk(0%, 9%, 81%, 33%) |
| LAB | lab(63.1 -6.9 60.0) |
| LCH | lch(63.1 60.4 96.5) |
| OKLCH | oklch(0.680 0.133 101.3) |
Copy-ready code
/* CSS */
color: #aa9a21;
background-color: #aa9a21;
/* Tailwind (arbitrary) */
class="text-[#aa9a21] bg-[#aa9a21]"
/* SCSS */
$brand: #aa9a21;
/* SwiftUI */
Color(red: 0.667, green: 0.604, blue: 0.129)
/* Android */
Color.parseColor("#aa9a21")Accessibility — WCAG contrast
Aa
#aa9a21 on white: 2.86:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aa9a21 on black: 7.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green60.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta9.4%
Yellow80.6%
Key (black)33.3%
Color previews
#aa9a21 text on a black background
contrast 7.35:1
Card sample
#aa9a21 text on a white background
contrast 2.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aa9a21;
Background color
Panel with #aa9a21 background
background-color: #aa9a21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aa9a21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 154, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 154, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa9a21; background: linear-gradient(135deg, #aa9a21, #5FAA21);