Skip to content

#aca331

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

RGB
172, 163, 49
HSL
56°, 56%, 43%
CMYK
0, 5, 72, 33
Luminance
0.3519

Every format

HEX#aca331
RGBrgb(172, 163, 49)
HSLhsl(56, 56%, 43%)
CMYKcmyk(0%, 5%, 72%, 33%)
LABlab(65.9 -10.1 57.1)
LCHlch(65.9 58.0 100.0)
OKLCHoklch(0.703 0.131 104.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aca331 on white: 2.61:1
AA ✗ fail · AA-large · AAA
Aa
#aca331 on black: 8.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green63.9%
Blue19.2%

CMYK percentages

Cyan0.0%
Magenta5.2%
Yellow71.5%
Key (black)32.5%

Color previews

#aca331 text on a black background

contrast 8.04:1

Card sample

#aca331 text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 163, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 163, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aca331;
background: linear-gradient(135deg, #aca331, #63AC31);

Monochromatic scale

Palettes built from #aca331

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aca331 in the Color Lab