#a59c01
a dark, electric yellow · cool · closest name: olive
RGB
165, 156, 1
HSL
57°, 99%, 33%
CMYK
0, 6, 99, 35
Luminance
0.3178
Every format
| HEX | #a59c01 |
| RGB | rgb(165, 156, 1) |
| HSL | hsl(57, 99%, 33%) |
| CMYK | cmyk(0%, 6%, 99%, 35%) |
| LAB | lab(63.2 -10.9 66.2) |
| LCH | lch(63.2 67.1 99.3) |
| OKLCH | oklch(0.679 0.144 105.5) |
Copy-ready code
/* CSS */
color: #a59c01;
background-color: #a59c01;
/* Tailwind (arbitrary) */
class="text-[#a59c01] bg-[#a59c01]"
/* SCSS */
$brand: #a59c01;
/* SwiftUI */
Color(red: 0.647, green: 0.612, blue: 0.004)
/* Android */
Color.parseColor("#a59c01")Accessibility — WCAG contrast
Aa
#a59c01 on white: 2.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a59c01 on black: 7.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.7%
Green61.2%
Blue0.4%
CMYK percentages
Cyan0.0%
Magenta5.5%
Yellow99.4%
Key (black)35.3%
Color previews
#a59c01 text on a black background
contrast 7.36:1
Card sample
#a59c01 text on a white background
contrast 2.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a59c01;
Background color
Panel with #a59c01 background
background-color: #a59c01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a59c01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(165, 156, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 156, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a59c01; background: linear-gradient(135deg, #a59c01, #41A501);