#a0ab21
a dark, vivid yellow · cool · closest name: olive
RGB
160, 171, 33
HSL
65°, 68%, 40%
CMYK
6, 0, 81, 33
Luminance
0.3671
Every format
| HEX | #a0ab21 |
| RGB | rgb(160, 171, 33) |
| HSL | hsl(65, 68%, 40%) |
| CMYK | cmyk(6%, 0%, 81%, 33%) |
| LAB | lab(67.1 -20.1 63.2) |
| LCH | lch(67.1 66.3 107.7) |
| OKLCH | oklch(0.709 0.151 114.4) |
Copy-ready code
/* CSS */
color: #a0ab21;
background-color: #a0ab21;
/* Tailwind (arbitrary) */
class="text-[#a0ab21] bg-[#a0ab21]"
/* SCSS */
$brand: #a0ab21;
/* SwiftUI */
Color(red: 0.627, green: 0.671, blue: 0.129)
/* Android */
Color.parseColor("#a0ab21")Accessibility — WCAG contrast
Aa
#a0ab21 on white: 2.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a0ab21 on black: 8.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.7%
Green67.1%
Blue12.9%
CMYK percentages
Cyan6.4%
Magenta0.0%
Yellow80.7%
Key (black)32.9%
Color previews
#a0ab21 text on a black background
contrast 8.34:1
Card sample
#a0ab21 text on a white background
contrast 2.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a0ab21;
Background color
Panel with #a0ab21 background
background-color: #a0ab21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a0ab21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(160, 171, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(160, 171, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a0ab21; background: linear-gradient(135deg, #a0ab21, #44AB21);