Skip to content

#2acd32

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

RGB
42, 205, 50
HSL
123°, 66%, 48%
CMYK
80, 0, 76, 20
Luminance
0.4439

Every format

HEX#2acd32
RGBrgb(42, 205, 50)
HSLhsl(123, 66%, 48%)
CMYKcmyk(80%, 0%, 76%, 20%)
LABlab(72.5 -68.2 61.3)
LCHlch(72.5 91.7 138.1)
OKLCHoklch(0.741 0.231 143.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2acd32 on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#2acd32 on black: 9.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green80.4%
Blue19.6%

CMYK percentages

Cyan79.5%
Magenta0.0%
Yellow75.6%
Key (black)19.6%

Color previews

#2acd32 text on a black background

contrast 9.88:1

Card sample

#2acd32 text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2acd32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2acd32 in the Color Lab