Skip to content

#ac7f39

a dark, vivid orange · warm · closest name: peru

RGB
172, 127, 57
HSL
37°, 50%, 45%
CMYK
0, 26, 67, 33
Luminance
0.2424

Every format

HEX#ac7f39
RGBrgb(172, 127, 57)
HSLhsl(37, 50%, 45%)
CMYKcmyk(0%, 26%, 67%, 33%)
LABlab(56.3 10.0 43.8)
LCHlch(56.3 44.9 77.1)
OKLCHoklch(0.627 0.103 75.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac7f39 on white: 3.59:1
AA ✗ fail · AA-large · AAA
Aa
#ac7f39 on black: 5.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green49.8%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta26.2%
Yellow66.9%
Key (black)32.5%

Color previews

#ac7f39 text on a black background

contrast 5.85:1

Card sample

#ac7f39 text on a white background

contrast 3.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac7f39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac7f39 in the Color Lab