#ac982c
a dark, vivid yellow · cool · closest name: olive
RGB
172, 152, 44
HSL
51°, 59%, 42%
CMYK
0, 12, 74, 33
Luminance
0.3141
Every format
| HEX | #ac982c |
| RGB | rgb(172, 152, 44) |
| HSL | hsl(51, 59%, 42%) |
| CMYK | cmyk(0%, 12%, 74%, 33%) |
| LAB | lab(62.9 -4.5 56.1) |
| LCH | lch(62.9 56.3 94.5) |
| OKLCH | oklch(0.678 0.125 98.3) |
Copy-ready code
/* CSS */
color: #ac982c;
background-color: #ac982c;
/* Tailwind (arbitrary) */
class="text-[#ac982c] bg-[#ac982c]"
/* SCSS */
$brand: #ac982c;
/* SwiftUI */
Color(red: 0.675, green: 0.596, blue: 0.173)
/* Android */
Color.parseColor("#ac982c")Accessibility — WCAG contrast
Aa
#ac982c on white: 2.88:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ac982c on black: 7.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green59.6%
Blue17.3%
CMYK percentages
Cyan0.0%
Magenta11.6%
Yellow74.4%
Key (black)32.5%
Color previews
#ac982c text on a black background
contrast 7.28:1
Card sample
#ac982c text on a white background
contrast 2.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac982c;
Background color
Panel with #ac982c background
background-color: #ac982c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac982c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 152, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 152, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac982c; background: linear-gradient(135deg, #ac982c, #6BAC2C);