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