Skip to content

#aca621

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

RGB
172, 166, 33
HSL
57°, 68%, 40%
CMYK
0, 4, 81, 33
Luminance
0.3615

Every format

HEX#aca621
RGBrgb(172, 166, 33)
HSLhsl(57, 68%, 40%)
CMYKcmyk(0%, 4%, 81%, 33%)
LABlab(66.6 -12.3 63.2)
LCHlch(66.6 64.4 101.0)
OKLCHoklch(0.708 0.143 106.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aca621 on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#aca621 on black: 8.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green65.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow80.8%
Key (black)32.5%

Color previews

#aca621 text on a black background

contrast 8.23:1

Card sample

#aca621 text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 166, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 166, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aca621;
background: linear-gradient(135deg, #aca621, #55AC21);

Monochromatic scale

Palettes built from #aca621

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aca621 in the Color Lab