Skip to content

#acc921

a balanced, vivid green · cool · closest name: olivedrab

RGB
172, 201, 33
HSL
70°, 72%, 46%
CMYK
14, 0, 84, 21
Luminance
0.5065

Every format

HEX#acc921
RGBrgb(172, 201, 33)
HSLhsl(70, 72%, 46%)
CMYKcmyk(14%, 0%, 84%, 21%)
LABlab(76.5 -29.7 71.7)
LCHlch(76.5 77.5 112.5)
OKLCHoklch(0.787 0.179 119.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acc921 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#acc921 on black: 11.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green78.8%
Blue12.9%

CMYK percentages

Cyan14.4%
Magenta0.0%
Yellow83.6%
Key (black)21.2%

Color previews

#acc921 text on a black background

contrast 11.13:1

Card sample

#acc921 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acc921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acc921 in the Color Lab