#a49f21
a dark, vivid yellow · cool · closest name: olive
RGB
164, 159, 33
HSL
58°, 67%, 39%
CMYK
0, 3, 80, 36
Luminance
0.3280
Every format
| HEX | #a49f21 |
| RGB | rgb(164, 159, 33) |
| HSL | hsl(58, 67%, 39%) |
| CMYK | cmyk(0%, 3%, 80%, 36%) |
| LAB | lab(64.0 -12.2 60.6) |
| LCH | lch(64.0 61.8 101.4) |
| OKLCH | oklch(0.685 0.138 107.1) |
Copy-ready code
/* CSS */
color: #a49f21;
background-color: #a49f21;
/* Tailwind (arbitrary) */
class="text-[#a49f21] bg-[#a49f21]"
/* SCSS */
$brand: #a49f21;
/* SwiftUI */
Color(red: 0.643, green: 0.624, blue: 0.129)
/* Android */
Color.parseColor("#a49f21")Accessibility — WCAG contrast
Aa
#a49f21 on white: 2.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a49f21 on black: 7.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.3%
Green62.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta3.0%
Yellow79.9%
Key (black)35.7%
Color previews
#a49f21 text on a black background
contrast 7.56:1
Card sample
#a49f21 text on a white background
contrast 2.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a49f21;
Background color
Panel with #a49f21 background
background-color: #a49f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a49f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(164, 159, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 159, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a49f21; background: linear-gradient(135deg, #a49f21, #52A421);