#a39c21
a dark, vivid yellow · cool · closest name: olive
RGB
163, 156, 33
HSL
57°, 66%, 38%
CMYK
0, 4, 80, 36
Luminance
0.3167
Every format
| HEX | #a39c21 |
| RGB | rgb(163, 156, 33) |
| HSL | hsl(57, 66%, 38%) |
| CMYK | cmyk(0%, 4%, 80%, 36%) |
| LAB | lab(63.1 -11.1 59.7) |
| LCH | lch(63.1 60.8 100.5) |
| OKLCH | oklch(0.678 0.135 106.0) |
Copy-ready code
/* CSS */
color: #a39c21;
background-color: #a39c21;
/* Tailwind (arbitrary) */
class="text-[#a39c21] bg-[#a39c21]"
/* SCSS */
$brand: #a39c21;
/* SwiftUI */
Color(red: 0.639, green: 0.612, blue: 0.129)
/* Android */
Color.parseColor("#a39c21")Accessibility — WCAG contrast
Aa
#a39c21 on white: 2.86:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a39c21 on black: 7.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.9%
Green61.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta4.3%
Yellow79.8%
Key (black)36.1%
Color previews
#a39c21 text on a black background
contrast 7.33:1
Card sample
#a39c21 text on a white background
contrast 2.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a39c21;
Background color
Panel with #a39c21 background
background-color: #a39c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a39c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(163, 156, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 156, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a39c21; background: linear-gradient(135deg, #a39c21, #53A321);