Skip to content

#2ac920

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

RGB
42, 201, 32
HSL
116°, 73%, 46%
CMYK
79, 0, 84, 21
Luminance
0.4237

Every format

HEX#2ac920
RGBrgb(42, 201, 32)
HSLhsl(116, 73%, 46%)
CMYKcmyk(79%, 0%, 84%, 21%)
LABlab(71.1 -68.1 65.1)
LCHlch(71.1 94.2 136.3)
OKLCHoklch(0.729 0.234 142.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ac920 on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#2ac920 on black: 9.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green78.8%
Blue12.5%

CMYK percentages

Cyan79.1%
Magenta0.0%
Yellow84.1%
Key (black)21.2%

Color previews

#2ac920 text on a black background

contrast 9.47:1

Card sample

#2ac920 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 201, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 201, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ac920;
background: linear-gradient(135deg, #2ac920, #20C987);

Monochromatic scale

Palettes built from #2ac920

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac920 in the Color Lab