#a59f21
a dark, vivid yellow · cool · closest name: olive
RGB
165, 159, 33
HSL
57°, 67%, 39%
CMYK
0, 4, 80, 35
Luminance
0.3291
Every format
| HEX | #a59f21 |
| RGB | rgb(165, 159, 33) |
| HSL | hsl(57, 67%, 39%) |
| CMYK | cmyk(0%, 4%, 80%, 35%) |
| LAB | lab(64.1 -11.8 60.7) |
| LCH | lch(64.1 61.8 101.0) |
| OKLCH | oklch(0.686 0.137 106.6) |
Copy-ready code
/* CSS */
color: #a59f21;
background-color: #a59f21;
/* Tailwind (arbitrary) */
class="text-[#a59f21] bg-[#a59f21]"
/* SCSS */
$brand: #a59f21;
/* SwiftUI */
Color(red: 0.647, green: 0.624, blue: 0.129)
/* Android */
Color.parseColor("#a59f21")Accessibility — WCAG contrast
Aa
#a59f21 on white: 2.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a59f21 on black: 7.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.7%
Green62.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta3.6%
Yellow80.0%
Key (black)35.3%
Color previews
#a59f21 text on a black background
contrast 7.58:1
Card sample
#a59f21 text on a white background
contrast 2.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a59f21;
Background color
Panel with #a59f21 background
background-color: #a59f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a59f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(165, 159, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 159, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a59f21; background: linear-gradient(135deg, #a59f21, #53A521);