Skip to content

#2ad52f

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

RGB
42, 213, 47
HSL
122°, 67%, 50%
CMYK
80, 0, 78, 17
Luminance
0.4829

Every format

HEX#2ad52f
RGBrgb(42, 213, 47)
HSLhsl(122, 67%, 50%)
CMYKcmyk(80%, 0%, 78%, 17%)
LABlab(75.0 -70.8 64.7)
LCHlch(75.0 95.9 137.6)
OKLCHoklch(0.761 0.240 143.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ad52f on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#2ad52f on black: 10.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green83.5%
Blue18.4%

CMYK percentages

Cyan80.3%
Magenta0.0%
Yellow77.9%
Key (black)16.5%

Color previews

#2ad52f text on a black background

contrast 10.66:1

Card sample

#2ad52f text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ad52f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ad52f in the Color Lab