#a2ac33
a dark, vivid yellow · cool · closest name: olive
RGB
162, 172, 51
HSL
65°, 54%, 44%
CMYK
6, 0, 70, 33
Luminance
0.3743
Every format
| HEX | #a2ac33 |
| RGB | rgb(162, 172, 51) |
| HSL | hsl(65, 54%, 44%) |
| CMYK | cmyk(6%, 0%, 70%, 33%) |
| LAB | lab(67.6 -18.9 57.8) |
| LCH | lch(67.6 60.8 108.2) |
| OKLCH | oklch(0.714 0.141 114.1) |
Copy-ready code
/* CSS */
color: #a2ac33;
background-color: #a2ac33;
/* Tailwind (arbitrary) */
class="text-[#a2ac33] bg-[#a2ac33]"
/* SCSS */
$brand: #a2ac33;
/* SwiftUI */
Color(red: 0.635, green: 0.675, blue: 0.200)
/* Android */
Color.parseColor("#a2ac33")Accessibility — WCAG contrast
Aa
#a2ac33 on white: 2.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2ac33 on black: 8.49:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green67.5%
Blue20.0%
CMYK percentages
Cyan5.8%
Magenta0.0%
Yellow70.3%
Key (black)32.5%
Color previews
#a2ac33 text on a black background
contrast 8.49:1
Card sample
#a2ac33 text on a white background
contrast 2.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2ac33;
Background color
Panel with #a2ac33 background
background-color: #a2ac33;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2ac33;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 172, 51, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 172, 51, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ac33; background: linear-gradient(135deg, #a2ac33, #51AC33);