Skip to content

#20ac21

a dark, vivid green · cool · closest name: green

RGB
32, 172, 33
HSL
120°, 69%, 40%
CMYK
81, 0, 81, 33
Luminance
0.2992

Every format

HEX#20ac21
RGBrgb(32, 172, 33)
HSLhsl(120, 69%, 40%)
CMYKcmyk(81%, 0%, 81%, 33%)
LABlab(61.6 -60.5 56.0)
LCHlch(61.6 82.5 137.2)
OKLCHoklch(0.649 0.206 142.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#20ac21 on white: 3.01:1
AA ✗ fail · AA-large · AAA
Aa
#20ac21 on black: 6.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green67.5%
Blue12.9%

CMYK percentages

Cyan81.4%
Magenta0.0%
Yellow80.8%
Key (black)32.5%

Color previews

#20ac21 text on a black background

contrast 6.98:1

Card sample

#20ac21 text on a white background

contrast 3.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #20ac21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #20ac21 in the Color Lab