Skip to content

#2adb2f

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

RGB
42, 219, 47
HSL
122°, 71%, 51%
CMYK
81, 0, 79, 14
Luminance
0.5136

Every format

HEX#2adb2f
RGBrgb(42, 219, 47)
HSLhsl(122, 71%, 51%)
CMYKcmyk(81%, 0%, 79%, 14%)
LABlab(76.9 -72.5 66.5)
LCHlch(76.9 98.4 137.5)
OKLCHoklch(0.777 0.246 143.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2adb2f on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#2adb2f on black: 11.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green85.9%
Blue18.4%

CMYK percentages

Cyan80.8%
Magenta0.0%
Yellow78.5%
Key (black)14.1%

Color previews

#2adb2f text on a black background

contrast 11.27:1

Card sample

#2adb2f text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2adb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2adb2f in the Color Lab