#a3ac21
a dark, vivid yellow · cool · closest name: olive
RGB
163, 172, 33
HSL
64°, 68%, 40%
CMYK
5, 0, 81, 33
Luminance
0.3740
Every format
| HEX | #a3ac21 |
| RGB | rgb(163, 172, 33) |
| HSL | hsl(64, 68%, 40%) |
| CMYK | cmyk(5%, 0%, 81%, 33%) |
| LAB | lab(67.6 -19.3 63.7) |
| LCH | lch(67.6 66.6 106.9) |
| OKLCH | oklch(0.714 0.151 113.5) |
Copy-ready code
/* CSS */
color: #a3ac21;
background-color: #a3ac21;
/* Tailwind (arbitrary) */
class="text-[#a3ac21] bg-[#a3ac21]"
/* SCSS */
$brand: #a3ac21;
/* SwiftUI */
Color(red: 0.639, green: 0.675, blue: 0.129)
/* Android */
Color.parseColor("#a3ac21")Accessibility — WCAG contrast
Aa
#a3ac21 on white: 2.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a3ac21 on black: 8.48:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.9%
Green67.5%
Blue12.9%
CMYK percentages
Cyan5.2%
Magenta0.0%
Yellow80.8%
Key (black)32.5%
Color previews
#a3ac21 text on a black background
contrast 8.48:1
Card sample
#a3ac21 text on a white background
contrast 2.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a3ac21;
Background color
Panel with #a3ac21 background
background-color: #a3ac21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a3ac21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(163, 172, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 172, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a3ac21; background: linear-gradient(135deg, #a3ac21, #46AC21);