Skip to content

#ac8713

a dark, electric yellow · cool · closest name: olive

RGB
172, 135, 19
HSL
46°, 80%, 38%
CMYK
0, 22, 89, 33
Luminance
0.2615

Every format

HEX#ac8713
RGBrgb(172, 135, 19)
HSLhsl(46, 80%, 38%)
CMYKcmyk(0%, 22%, 89%, 33%)
LABlab(58.2 4.0 59.8)
LCHlch(58.2 59.9 86.2)
OKLCHoklch(0.641 0.127 88.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac8713 on white: 3.37:1
AA ✗ fail · AA-large · AAA
Aa
#ac8713 on black: 6.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green52.9%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta21.5%
Yellow89.0%
Key (black)32.5%

Color previews

#ac8713 text on a black background

contrast 6.23:1

Card sample

#ac8713 text on a white background

contrast 3.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac8713

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac8713 in the Color Lab