#a19821
a dark, vivid yellow · cool · closest name: olive
RGB
161, 152, 33
HSL
56°, 66%, 38%
CMYK
0, 6, 80, 37
Luminance
0.3014
Every format
| HEX | #a19821 |
| RGB | rgb(161, 152, 33) |
| HSL | hsl(56, 66%, 38%) |
| CMYK | cmyk(0%, 6%, 80%, 37%) |
| LAB | lab(61.8 -9.8 58.5) |
| LCH | lch(61.8 59.3 99.5) |
| OKLCH | oklch(0.667 0.132 104.9) |
Copy-ready code
/* CSS */
color: #a19821;
background-color: #a19821;
/* Tailwind (arbitrary) */
class="text-[#a19821] bg-[#a19821]"
/* SCSS */
$brand: #a19821;
/* SwiftUI */
Color(red: 0.631, green: 0.596, blue: 0.129)
/* Android */
Color.parseColor("#a19821")Accessibility — WCAG contrast
Aa
#a19821 on white: 2.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a19821 on black: 7.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.1%
Green59.6%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta5.6%
Yellow79.5%
Key (black)36.9%
Color previews
#a19821 text on a black background
contrast 7.03:1
Card sample
#a19821 text on a white background
contrast 2.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a19821;
Background color
Panel with #a19821 background
background-color: #a19821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a19821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(161, 152, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(161, 152, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a19821; background: linear-gradient(135deg, #a19821, #55A121);