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