Skip to content

#ac9749

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

RGB
172, 151, 73
HSL
47°, 40%, 48%
CMYK
0, 12, 58, 33
Luminance
0.3138

Every format

HEX#ac9749
RGBrgb(172, 151, 73)
HSLhsl(47, 40%, 48%)
CMYKcmyk(0%, 12%, 58%, 33%)
LABlab(62.8 -2.1 43.3)
LCHlch(62.8 43.3 92.8)
OKLCHoklch(0.679 0.101 94.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac9749 on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#ac9749 on black: 7.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green59.2%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta12.2%
Yellow57.6%
Key (black)32.5%

Color previews

#ac9749 text on a black background

contrast 7.28:1

Card sample

#ac9749 text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac9749

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9749 in the Color Lab