#a47f21
a dark, vivid yellow · warm · closest name: peru
RGB
164, 127, 33
HSL
43°, 67%, 39%
CMYK
0, 23, 80, 36
Luminance
0.2318
Every format
| HEX | #a47f21 |
| RGB | rgb(164, 127, 33) |
| HSL | hsl(43, 67%, 39%) |
| CMYK | cmyk(0%, 23%, 80%, 36%) |
| LAB | lab(55.3 5.2 52.7) |
| LCH | lch(55.3 53.0 84.4) |
| OKLCH | oklch(0.616 0.115 85.6) |
Copy-ready code
/* CSS */
color: #a47f21;
background-color: #a47f21;
/* Tailwind (arbitrary) */
class="text-[#a47f21] bg-[#a47f21]"
/* SCSS */
$brand: #a47f21;
/* SwiftUI */
Color(red: 0.643, green: 0.498, blue: 0.129)
/* Android */
Color.parseColor("#a47f21")Accessibility — WCAG contrast
Aa
#a47f21 on white: 3.73:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#a47f21 on black: 5.64:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.3%
Green49.8%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta22.6%
Yellow79.9%
Key (black)35.7%
Color previews
#a47f21 text on a black background
contrast 5.64:1
Card sample
#a47f21 text on a white background
contrast 3.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a47f21;
Background color
Panel with #a47f21 background
background-color: #a47f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a47f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(164, 127, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 127, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a47f21; background: linear-gradient(135deg, #a47f21, #71A421);