Skip to content

#2adf2c

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

RGB
42, 223, 44
HSL
121°, 74%, 52%
CMYK
81, 0, 80, 13
Luminance
0.5345

Every format

HEX#2adf2c
RGBrgb(42, 223, 44)
HSLhsl(121, 74%, 52%)
CMYKcmyk(81%, 0%, 80%, 13%)
LABlab(78.1 -73.9 68.5)
LCHlch(78.1 100.8 137.2)
OKLCHoklch(0.787 0.252 142.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2adf2c on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#2adf2c on black: 11.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green87.5%
Blue17.3%

CMYK percentages

Cyan81.2%
Magenta0.0%
Yellow80.3%
Key (black)12.5%

Color previews

#2adf2c text on a black background

contrast 11.69:1

Card sample

#2adf2c text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2adf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2adf2c in the Color Lab