Skip to content

#2acb20

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

RGB
42, 203, 32
HSL
117°, 73%, 46%
CMYK
79, 0, 84, 20
Luminance
0.4331

Every format

HEX#2acb20
RGBrgb(42, 203, 32)
HSLhsl(117, 73%, 46%)
CMYKcmyk(79%, 0%, 84%, 20%)
LABlab(71.8 -68.7 65.7)
LCHlch(71.8 95.0 136.3)
OKLCHoklch(0.734 0.236 142.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2acb20 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#2acb20 on black: 9.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green79.6%
Blue12.5%

CMYK percentages

Cyan79.3%
Magenta0.0%
Yellow84.2%
Key (black)20.4%

Color previews

#2acb20 text on a black background

contrast 9.66:1

Card sample

#2acb20 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2acb20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2acb20 in the Color Lab