Skip to content

#ac9b49

a balanced, soft yellow · cool · closest name: olive

RGB
172, 155, 73
HSL
50°, 40%, 48%
CMYK
0, 10, 58, 33
Luminance
0.3269

Every format

HEX#ac9b49
RGBrgb(172, 155, 73)
HSLhsl(50, 40%, 48%)
CMYKcmyk(0%, 10%, 58%, 33%)
LABlab(63.9 -4.3 44.5)
LCHlch(63.9 44.7 95.5)
OKLCHoklch(0.688 0.105 97.8)

Copy-ready code

/* CSS */
color: #ac9b49;
background-color: #ac9b49;
/* Tailwind (arbitrary) */
class="text-[#ac9b49] bg-[#ac9b49]"
/* SCSS */
$brand: #ac9b49;
/* SwiftUI */
Color(red: 0.675, green: 0.608, blue: 0.286)
/* Android */
Color.parseColor("#ac9b49")

Accessibility — WCAG contrast

Aa
#ac9b49 on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#ac9b49 on black: 7.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green60.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta9.9%
Yellow57.6%
Key (black)32.5%

Color previews

#ac9b49 text on a black background

contrast 7.54:1

Card sample

#ac9b49 text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ac9b49;
Background color
Panel with #ac9b49 background
background-color: #ac9b49;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ac9b49;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(172, 155, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 155, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac9b49;
background: linear-gradient(135deg, #ac9b49, #7BAC49);

Monochromatic scale

Palettes built from #ac9b49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9b49 in the Color Lab