#ac9a13
a dark, electric yellow · cool · closest name: olive
RGB
172, 154, 19
HSL
53°, 80%, 38%
CMYK
0, 11, 89, 33
Luminance
0.3193
Every format
| HEX | #ac9a13 |
| RGB | rgb(172, 154, 19) |
| HSL | hsl(53, 80%, 38%) |
| CMYK | cmyk(0%, 11%, 89%, 33%) |
| LAB | lab(63.3 -6.3 63.8) |
| LCH | lch(63.3 64.1 95.7) |
| OKLCH | oklch(0.681 0.138 100.7) |
Copy-ready code
/* CSS */
color: #ac9a13;
background-color: #ac9a13;
/* Tailwind (arbitrary) */
class="text-[#ac9a13] bg-[#ac9a13]"
/* SCSS */
$brand: #ac9a13;
/* SwiftUI */
Color(red: 0.675, green: 0.604, blue: 0.075)
/* Android */
Color.parseColor("#ac9a13")Accessibility — WCAG contrast
Aa
#ac9a13 on white: 2.84:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ac9a13 on black: 7.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green60.4%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta10.5%
Yellow89.0%
Key (black)32.5%
Color previews
#ac9a13 text on a black background
contrast 7.39:1
Card sample
#ac9a13 text on a white background
contrast 2.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac9a13;
Background color
Panel with #ac9a13 background
background-color: #ac9a13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac9a13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 154, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 154, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac9a13; background: linear-gradient(135deg, #ac9a13, #58AC13);