Skip to content

#acac32

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

RGB
172, 172, 50
HSL
60°, 55%, 44%
CMYK
0, 0, 71, 33
Luminance
0.3851

Every format

HEX#acac32
RGBrgb(172, 172, 50)
HSLhsl(60, 55%, 44%)
CMYKcmyk(0%, 0%, 71%, 33%)
LABlab(68.4 -14.7 59.2)
LCHlch(68.4 61.0 103.9)
OKLCHoklch(0.723 0.139 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acac32 on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#acac32 on black: 8.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green67.5%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow70.9%
Key (black)32.5%

Color previews

#acac32 text on a black background

contrast 8.70:1

Card sample

#acac32 text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acac32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acac32 in the Color Lab