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