#a1ac00
a dark, electric yellow · cool · closest name: olive
RGB
161, 172, 0
HSL
64°, 100%, 34%
CMYK
6, 0, 100, 33
Luminance
0.3708
Every format
| HEX | #a1ac00 |
| RGB | rgb(161, 172, 0) |
| HSL | hsl(64, 100%, 34%) |
| CMYK | cmyk(6%, 0%, 100%, 33%) |
| LAB | lab(67.3 -20.9 69.3) |
| LCH | lch(67.3 72.4 106.8) |
| OKLCH | oklch(0.711 0.160 114.3) |
Copy-ready code
/* CSS */
color: #a1ac00;
background-color: #a1ac00;
/* Tailwind (arbitrary) */
class="text-[#a1ac00] bg-[#a1ac00]"
/* SCSS */
$brand: #a1ac00;
/* SwiftUI */
Color(red: 0.631, green: 0.675, blue: 0.000)
/* Android */
Color.parseColor("#a1ac00")Accessibility — WCAG contrast
Aa
#a1ac00 on white: 2.50:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a1ac00 on black: 8.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.1%
Green67.5%
Blue0.0%
CMYK percentages
Cyan6.4%
Magenta0.0%
Yellow100.0%
Key (black)32.5%
Color previews
#a1ac00 text on a black background
contrast 8.42:1
Card sample
#a1ac00 text on a white background
contrast 2.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a1ac00;
Background color
Panel with #a1ac00 background
background-color: #a1ac00;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a1ac00;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(161, 172, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(161, 172, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a1ac00; background: linear-gradient(135deg, #a1ac00, #2EAC00);