#a37f21
a dark, vivid yellow · warm · closest name: olive
RGB
163, 127, 33
HSL
43°, 66%, 38%
CMYK
0, 22, 80, 36
Luminance
0.2308
Every format
| HEX | #a37f21 |
| RGB | rgb(163, 127, 33) |
| HSL | hsl(43, 66%, 38%) |
| CMYK | cmyk(0%, 22%, 80%, 36%) |
| LAB | lab(55.1 4.8 52.6) |
| LCH | lch(55.1 52.8 84.8) |
| OKLCH | oklch(0.615 0.115 86.3) |
Copy-ready code
/* CSS */
color: #a37f21;
background-color: #a37f21;
/* Tailwind (arbitrary) */
class="text-[#a37f21] bg-[#a37f21]"
/* SCSS */
$brand: #a37f21;
/* SwiftUI */
Color(red: 0.639, green: 0.498, blue: 0.129)
/* Android */
Color.parseColor("#a37f21")Accessibility — WCAG contrast
Aa
#a37f21 on white: 3.74:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#a37f21 on black: 5.62:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.9%
Green49.8%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta22.1%
Yellow79.8%
Key (black)36.1%
Color previews
#a37f21 text on a black background
contrast 5.62:1
Card sample
#a37f21 text on a white background
contrast 3.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a37f21;
Background color
Panel with #a37f21 background
background-color: #a37f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a37f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(163, 127, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 127, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a37f21; background: linear-gradient(135deg, #a37f21, #70A321);