#a48b21
a dark, vivid yellow · cool · closest name: olive
RGB
164, 139, 33
HSL
49°, 67%, 39%
CMYK
0, 15, 80, 36
Luminance
0.2647
Every format
| HEX | #a48b21 |
| RGB | rgb(164, 139, 33) |
| HSL | hsl(49, 67%, 39%) |
| CMYK | cmyk(0%, 15%, 80%, 36%) |
| LAB | lab(58.5 -1.4 55.7) |
| LCH | lch(58.5 55.7 91.5) |
| OKLCH | oklch(0.642 0.121 94.9) |
Copy-ready code
/* CSS */
color: #a48b21;
background-color: #a48b21;
/* Tailwind (arbitrary) */
class="text-[#a48b21] bg-[#a48b21]"
/* SCSS */
$brand: #a48b21;
/* SwiftUI */
Color(red: 0.643, green: 0.545, blue: 0.129)
/* Android */
Color.parseColor("#a48b21")Accessibility — WCAG contrast
Aa
#a48b21 on white: 3.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#a48b21 on black: 6.29:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.3%
Green54.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta15.2%
Yellow79.9%
Key (black)35.7%
Color previews
#a48b21 text on a black background
contrast 6.29:1
Card sample
#a48b21 text on a white background
contrast 3.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a48b21;
Background color
Panel with #a48b21 background
background-color: #a48b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a48b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(164, 139, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 139, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a48b21; background: linear-gradient(135deg, #a48b21, #66A421);