Skip to content

#acb321

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

RGB
172, 179, 33
HSL
63°, 69%, 42%
CMYK
4, 0, 82, 30
Luminance
0.4112

Every format

HEX#acb321
RGBrgb(172, 179, 33)
HSLhsl(63, 69%, 42%)
CMYKcmyk(4%, 0%, 82%, 30%)
LABlab(70.3 -18.9 66.3)
LCHlch(70.3 69.0 105.9)
OKLCHoklch(0.737 0.155 112.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acb321 on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#acb321 on black: 9.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green70.2%
Blue12.9%

CMYK percentages

Cyan3.9%
Magenta0.0%
Yellow81.6%
Key (black)29.8%

Color previews

#acb321 text on a black background

contrast 9.22:1

Card sample

#acb321 text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acb321

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acb321 in the Color Lab