#a2ac39
a dark, vivid yellow · cool · closest name: olive
RGB
162, 172, 57
HSL
65°, 50%, 45%
CMYK
6, 0, 67, 33
Luminance
0.3748
Every format
| HEX | #a2ac39 |
| RGB | rgb(162, 172, 57) |
| HSL | hsl(65, 50%, 45%) |
| CMYK | cmyk(6%, 0%, 67%, 33%) |
| LAB | lab(67.6 -18.6 55.5) |
| LCH | lch(67.6 58.5 108.5) |
| OKLCH | oklch(0.715 0.137 114.1) |
Copy-ready code
/* CSS */
color: #a2ac39;
background-color: #a2ac39;
/* Tailwind (arbitrary) */
class="text-[#a2ac39] bg-[#a2ac39]"
/* SCSS */
$brand: #a2ac39;
/* SwiftUI */
Color(red: 0.635, green: 0.675, blue: 0.224)
/* Android */
Color.parseColor("#a2ac39")Accessibility — WCAG contrast
Aa
#a2ac39 on white: 2.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2ac39 on black: 8.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green67.5%
Blue22.4%
CMYK percentages
Cyan5.8%
Magenta0.0%
Yellow66.9%
Key (black)32.5%
Color previews
#a2ac39 text on a black background
contrast 8.50:1
Card sample
#a2ac39 text on a white background
contrast 2.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2ac39;
Background color
Panel with #a2ac39 background
background-color: #a2ac39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2ac39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 172, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 172, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ac39; background: linear-gradient(135deg, #a2ac39, #55AC39);