Skip to content

#2adf3f

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

RGB
42, 223, 63
HSL
127°, 74%, 52%
CMYK
81, 0, 72, 13
Luminance
0.5363

Every format

HEX#2adf3f
RGBrgb(42, 223, 63)
HSLhsl(127, 74%, 52%)
CMYKcmyk(81%, 0%, 72%, 13%)
LABlab(78.2 -72.6 62.6)
LCHlch(78.2 95.8 139.2)
OKLCHoklch(0.789 0.242 144.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2adf3f on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#2adf3f on black: 11.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green87.5%
Blue24.7%

CMYK percentages

Cyan81.2%
Magenta0.0%
Yellow71.7%
Key (black)12.5%

Color previews

#2adf3f text on a black background

contrast 11.73:1

Card sample

#2adf3f text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2adf3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2adf3f in the Color Lab