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