#a39821
a dark, vivid yellow · cool · closest name: olive
RGB
163, 152, 33
HSL
55°, 66%, 38%
CMYK
0, 7, 80, 36
Luminance
0.3035
Every format
| HEX | #a39821 |
| RGB | rgb(163, 152, 33) |
| HSL | hsl(55, 66%, 38%) |
| CMYK | cmyk(0%, 7%, 80%, 36%) |
| LAB | lab(62.0 -8.9 58.8) |
| LCH | lch(62.0 59.4 98.7) |
| OKLCH | oklch(0.669 0.131 103.8) |
Copy-ready code
/* CSS */
color: #a39821;
background-color: #a39821;
/* Tailwind (arbitrary) */
class="text-[#a39821] bg-[#a39821]"
/* SCSS */
$brand: #a39821;
/* SwiftUI */
Color(red: 0.639, green: 0.596, blue: 0.129)
/* Android */
Color.parseColor("#a39821")Accessibility — WCAG contrast
Aa
#a39821 on white: 2.97:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a39821 on black: 7.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.9%
Green59.6%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta6.7%
Yellow79.8%
Key (black)36.1%
Color previews
#a39821 text on a black background
contrast 7.07:1
Card sample
#a39821 text on a white background
contrast 2.97:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a39821;
Background color
Panel with #a39821 background
background-color: #a39821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a39821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(163, 152, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 152, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a39821; background: linear-gradient(135deg, #a39821, #57A321);