Skip to content

#2ad95f

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

RGB
42, 217, 95
HSL
138°, 70%, 51%
CMYK
81, 0, 56, 15
Luminance
0.5094

Every format

HEX#2ad95f
RGBrgb(42, 217, 95)
HSLhsl(138, 70%, 51%)
CMYKcmyk(81%, 0%, 56%, 15%)
LABlab(76.6 -67.3 47.6)
LCHlch(76.6 82.4 144.7)
OKLCHoklch(0.776 0.213 147.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ad95f on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#2ad95f on black: 11.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green85.1%
Blue37.3%

CMYK percentages

Cyan80.6%
Magenta0.0%
Yellow56.2%
Key (black)14.9%

Color previews

#2ad95f text on a black background

contrast 11.19:1

Card sample

#2ad95f text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ad95f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ad95f in the Color Lab