#a2ac49
a balanced, soft yellow · cool · closest name: olivedrab
RGB
162, 172, 73
HSL
66°, 40%, 48%
CMYK
6, 0, 58, 33
Luminance
0.3767
Every format
| HEX | #a2ac49 |
| RGB | rgb(162, 172, 73) |
| HSL | hsl(66, 40%, 48%) |
| CMYK | cmyk(6%, 0%, 58%, 33%) |
| LAB | lab(67.8 -17.5 48.7) |
| LCH | lch(67.8 51.7 109.7) |
| OKLCH | oklch(0.716 0.124 114.4) |
Copy-ready code
/* CSS */
color: #a2ac49;
background-color: #a2ac49;
/* Tailwind (arbitrary) */
class="text-[#a2ac49] bg-[#a2ac49]"
/* SCSS */
$brand: #a2ac49;
/* SwiftUI */
Color(red: 0.635, green: 0.675, blue: 0.286)
/* Android */
Color.parseColor("#a2ac49")Accessibility — WCAG contrast
Aa
#a2ac49 on white: 2.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2ac49 on black: 8.53:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green67.5%
Blue28.6%
CMYK percentages
Cyan5.8%
Magenta0.0%
Yellow57.6%
Key (black)32.5%
Color previews
#a2ac49 text on a black background
contrast 8.53:1
Card sample
#a2ac49 text on a white background
contrast 2.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2ac49;
Background color
Panel with #a2ac49 background
background-color: #a2ac49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2ac49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 172, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 172, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ac49; background: linear-gradient(135deg, #a2ac49, #60AC49);