#a39a21
a dark, vivid yellow · cool · closest name: olive
RGB
163, 154, 33
HSL
56°, 66%, 38%
CMYK
0, 6, 80, 36
Luminance
0.3101
Every format
| HEX | #a39a21 |
| RGB | rgb(163, 154, 33) |
| HSL | hsl(56, 66%, 38%) |
| CMYK | cmyk(0%, 6%, 80%, 36%) |
| LAB | lab(62.5 -10.0 59.2) |
| LCH | lch(62.5 60.1 99.6) |
| OKLCH | oklch(0.673 0.133 104.9) |
Copy-ready code
/* CSS */
color: #a39a21;
background-color: #a39a21;
/* Tailwind (arbitrary) */
class="text-[#a39a21] bg-[#a39a21]"
/* SCSS */
$brand: #a39a21;
/* SwiftUI */
Color(red: 0.639, green: 0.604, blue: 0.129)
/* Android */
Color.parseColor("#a39a21")Accessibility — WCAG contrast
Aa
#a39a21 on white: 2.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a39a21 on black: 7.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.9%
Green60.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta5.5%
Yellow79.8%
Key (black)36.1%
Color previews
#a39a21 text on a black background
contrast 7.20:1
Card sample
#a39a21 text on a white background
contrast 2.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a39a21;
Background color
Panel with #a39a21 background
background-color: #a39a21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a39a21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(163, 154, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 154, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a39a21; background: linear-gradient(135deg, #a39a21, #55A321);