Skip to content

#ac960f

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

RGB
172, 150, 15
HSL
52°, 84%, 37%
CMYK
0, 13, 91, 33
Luminance
0.3062

Every format

HEX#ac960f
RGBrgb(172, 150, 15)
HSLhsl(52, 84%, 37%)
CMYKcmyk(0%, 13%, 91%, 33%)
LABlab(62.2 -4.3 63.7)
LCHlch(62.2 63.9 93.8)
OKLCHoklch(0.673 0.136 98.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac960f on white: 2.95:1
AA ✗ fail · AA-large · AAA
Aa
#ac960f on black: 7.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green58.8%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta12.8%
Yellow91.3%
Key (black)32.5%

Color previews

#ac960f text on a black background

contrast 7.12:1

Card sample

#ac960f text on a white background

contrast 2.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 150, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 150, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac960f;
background: linear-gradient(135deg, #ac960f, #59AC0F);

Monochromatic scale

Palettes built from #ac960f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac960f in the Color Lab