#ad9500
a dark, electric yellow · cool · closest name: olive
RGB
173, 149, 0
HSL
52°, 100%, 34%
CMYK
0, 14, 100, 32
Luminance
0.3038
Every format
| HEX | #ad9500 |
| RGB | rgb(173, 149, 0) |
| HSL | hsl(52, 100%, 34%) |
| CMYK | cmyk(0%, 14%, 100%, 32%) |
| LAB | lab(62.0 -3.5 65.9) |
| LCH | lch(62.0 66.0 93.0) |
| OKLCH | oklch(0.671 0.139 97.6) |
Copy-ready code
/* CSS */
color: #ad9500;
background-color: #ad9500;
/* Tailwind (arbitrary) */
class="text-[#ad9500] bg-[#ad9500]"
/* SCSS */
$brand: #ad9500;
/* SwiftUI */
Color(red: 0.678, green: 0.584, blue: 0.000)
/* Android */
Color.parseColor("#ad9500")Accessibility — WCAG contrast
Aa
#ad9500 on white: 2.97:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ad9500 on black: 7.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green58.4%
Blue0.0%
CMYK percentages
Cyan0.0%
Magenta13.9%
Yellow100.0%
Key (black)32.2%
Color previews
#ad9500 text on a black background
contrast 7.08:1
Card sample
#ad9500 text on a white background
contrast 2.97:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad9500;
Background color
Panel with #ad9500 background
background-color: #ad9500;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad9500;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 149, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 149, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad9500; background: linear-gradient(135deg, #ad9500, #52AD00);