Skip to content

#2ad02f

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

RGB
42, 208, 47
HSL
122°, 66%, 49%
CMYK
80, 0, 77, 18
Luminance
0.4581

Every format

HEX#2ad02f
RGBrgb(42, 208, 47)
HSLhsl(122, 66%, 49%)
CMYKcmyk(80%, 0%, 77%, 18%)
LABlab(73.4 -69.3 63.1)
LCHlch(73.4 93.8 137.7)
OKLCHoklch(0.748 0.235 143.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ad02f on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#2ad02f on black: 10.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green81.6%
Blue18.4%

CMYK percentages

Cyan79.8%
Magenta0.0%
Yellow77.4%
Key (black)18.4%

Color previews

#2ad02f text on a black background

contrast 10.16:1

Card sample

#2ad02f text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ad02f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ad02f in the Color Lab