#a2ac25
a dark, vivid yellow · cool · closest name: olive
RGB
162, 172, 37
HSL
64°, 65%, 41%
CMYK
6, 0, 79, 33
Luminance
0.3732
Every format
| HEX | #a2ac25 |
| RGB | rgb(162, 172, 37) |
| HSL | hsl(64, 65%, 41%) |
| CMYK | cmyk(6%, 0%, 79%, 33%) |
| LAB | lab(67.5 -19.6 62.5) |
| LCH | lch(67.5 65.5 107.4) |
| OKLCH | oklch(0.713 0.149 114.0) |
Copy-ready code
/* CSS */
color: #a2ac25;
background-color: #a2ac25;
/* Tailwind (arbitrary) */
class="text-[#a2ac25] bg-[#a2ac25]"
/* SCSS */
$brand: #a2ac25;
/* SwiftUI */
Color(red: 0.635, green: 0.675, blue: 0.145)
/* Android */
Color.parseColor("#a2ac25")Accessibility — WCAG contrast
Aa
#a2ac25 on white: 2.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2ac25 on black: 8.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green67.5%
Blue14.5%
CMYK percentages
Cyan5.8%
Magenta0.0%
Yellow78.5%
Key (black)32.5%
Color previews
#a2ac25 text on a black background
contrast 8.46:1
Card sample
#a2ac25 text on a white background
contrast 2.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2ac25;
Background color
Panel with #a2ac25 background
background-color: #a2ac25;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2ac25;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 172, 37, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 172, 37, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ac25; background: linear-gradient(135deg, #a2ac25, #48AC25);