Skip to content

#ac9c49

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

RGB
172, 156, 73
HSL
50°, 40%, 48%
CMYK
0, 9, 58, 33
Luminance
0.3303

Every format

HEX#ac9c49
RGBrgb(172, 156, 73)
HSLhsl(50, 40%, 48%)
CMYKcmyk(0%, 9%, 58%, 33%)
LABlab(64.2 -4.8 44.8)
LCHlch(64.2 45.1 96.1)
OKLCHoklch(0.690 0.106 98.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac9c49 on white: 2.76:1
AA ✗ fail · AA-large · AAA
Aa
#ac9c49 on black: 7.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green61.2%
Blue28.6%

CMYK percentages

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

Color previews

#ac9c49 text on a black background

contrast 7.61:1

Card sample

#ac9c49 text on a white background

contrast 2.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac9c49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9c49 in the Color Lab