Skip to content

#ac9213

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

RGB
172, 146, 19
HSL
50°, 80%, 38%
CMYK
0, 15, 89, 33
Luminance
0.2938

Every format

HEX#ac9213
RGBrgb(172, 146, 19)
HSLhsl(50, 80%, 38%)
CMYKcmyk(0%, 15%, 89%, 33%)
LABlab(61.1 -2.0 62.1)
LCHlch(61.1 62.1 91.9)
OKLCHoklch(0.664 0.132 95.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac9213 on white: 3.05:1
AA ✗ fail · AA-large · AAA
Aa
#ac9213 on black: 6.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green57.3%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta15.1%
Yellow89.0%
Key (black)32.5%

Color previews

#ac9213 text on a black background

contrast 6.88:1

Card sample

#ac9213 text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac9213

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9213 in the Color Lab