Skip to content

#aac721

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

RGB
170, 199, 33
HSL
71°, 72%, 46%
CMYK
15, 0, 83, 22
Luminance
0.4950

Every format

HEX#aac721
RGBrgb(170, 199, 33)
HSLhsl(71, 72%, 46%)
CMYKcmyk(15%, 0%, 83%, 22%)
LABlab(75.8 -29.5 71.0)
LCHlch(75.8 76.9 112.6)
OKLCHoklch(0.781 0.177 120.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aac721 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#aac721 on black: 10.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green78.0%
Blue12.9%

CMYK percentages

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

Color previews

#aac721 text on a black background

contrast 10.90:1

Card sample

#aac721 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aac721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aac721 in the Color Lab