Skip to content

#aacc22

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

RGB
170, 204, 34
HSL
72°, 71%, 47%
CMYK
17, 0, 83, 20
Luminance
0.5185

Every format

HEX#aacc22
RGBrgb(170, 204, 34)
HSLhsl(72, 71%, 47%)
CMYKcmyk(17%, 0%, 83%, 20%)
LABlab(77.2 -31.9 72.0)
LCHlch(77.2 78.7 113.9)
OKLCHoklch(0.792 0.182 121.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aacc22 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#aacc22 on black: 11.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green80.0%
Blue13.3%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow83.3%
Key (black)20.0%

Color previews

#aacc22 text on a black background

contrast 11.37:1

Card sample

#aacc22 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 204, 34, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 204, 34, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aacc22;
background: linear-gradient(135deg, #aacc22, #39CC22);

Monochromatic scale

Palettes built from #aacc22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aacc22 in the Color Lab