Skip to content

#ac7f49

a balanced, soft orange · warm · closest name: peru

RGB
172, 127, 73
HSL
33°, 40%, 48%
CMYK
0, 26, 58, 33
Luminance
0.2443

Every format

HEX#ac7f49
RGBrgb(172, 127, 73)
HSLhsl(33, 40%, 48%)
CMYKcmyk(0%, 26%, 58%, 33%)
LABlab(56.5 11.2 35.8)
LCHlch(56.5 37.5 72.7)
OKLCHoklch(0.629 0.090 70.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac7f49 on white: 3.57:1
AA ✗ fail · AA-large · AAA
Aa
#ac7f49 on black: 5.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green49.8%
Blue28.6%

CMYK percentages

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

Color previews

#ac7f49 text on a black background

contrast 5.89:1

Card sample

#ac7f49 text on a white background

contrast 3.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac7f49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac7f49 in the Color Lab