#ac9d13
a dark, electric yellow · cool · closest name: olive
RGB
172, 157, 19
HSL
54°, 80%, 38%
CMYK
0, 9, 89, 33
Luminance
0.3293
Every format
| HEX | #ac9d13 |
| RGB | rgb(172, 157, 19) |
| HSL | hsl(54, 80%, 38%) |
| CMYK | cmyk(0%, 9%, 89%, 33%) |
| LAB | lab(64.1 -8.0 64.5) |
| LCH | lch(64.1 65.0 97.0) |
| OKLCH | oklch(0.688 0.140 102.3) |
Copy-ready code
/* CSS */
color: #ac9d13;
background-color: #ac9d13;
/* Tailwind (arbitrary) */
class="text-[#ac9d13] bg-[#ac9d13]"
/* SCSS */
$brand: #ac9d13;
/* SwiftUI */
Color(red: 0.675, green: 0.616, blue: 0.075)
/* Android */
Color.parseColor("#ac9d13")Accessibility — WCAG contrast
Aa
#ac9d13 on white: 2.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ac9d13 on black: 7.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green61.6%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta8.7%
Yellow89.0%
Key (black)32.5%
Color previews
#ac9d13 text on a black background
contrast 7.59:1
Card sample
#ac9d13 text on a white background
contrast 2.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac9d13;
Background color
Panel with #ac9d13 background
background-color: #ac9d13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac9d13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 157, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 157, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac9d13; background: linear-gradient(135deg, #ac9d13, #55AC13);