#ac9f49
a balanced, soft yellow · cool · closest name: olive
RGB
172, 159, 73
HSL
52°, 40%, 48%
CMYK
0, 8, 58, 33
Luminance
0.3405
Every format
| HEX | #ac9f49 |
| RGB | rgb(172, 159, 73) |
| HSL | hsl(52, 40%, 48%) |
| CMYK | cmyk(0%, 8%, 58%, 33%) |
| LAB | lab(65.0 -6.4 45.8) |
| LCH | lch(65.0 46.2 98.0) |
| OKLCH | oklch(0.696 0.108 100.8) |
Copy-ready code
/* CSS */
color: #ac9f49;
background-color: #ac9f49;
/* Tailwind (arbitrary) */
class="text-[#ac9f49] bg-[#ac9f49]"
/* SCSS */
$brand: #ac9f49;
/* SwiftUI */
Color(red: 0.675, green: 0.624, blue: 0.286)
/* Android */
Color.parseColor("#ac9f49")Accessibility — WCAG contrast
Aa
#ac9f49 on white: 2.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ac9f49 on black: 7.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green62.4%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta7.6%
Yellow57.6%
Key (black)32.5%
Color previews
#ac9f49 text on a black background
contrast 7.81:1
Card sample
#ac9f49 text on a white background
contrast 2.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac9f49;
Background color
Panel with #ac9f49 background
background-color: #ac9f49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac9f49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 159, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 159, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac9f49; background: linear-gradient(135deg, #ac9f49, #77AC49);