Skip to content

#2ac95e

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

RGB
42, 201, 94
HSL
140°, 65%, 48%
CMYK
79, 0, 53, 21
Luminance
0.4307

Every format

HEX#2ac95e
RGBrgb(42, 201, 94)
HSLhsl(140, 65%, 48%)
CMYKcmyk(79%, 0%, 53%, 21%)
LABlab(71.6 -62.2 42.0)
LCHlch(71.6 75.0 146.0)
OKLCHoklch(0.734 0.195 148.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ac95e on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#2ac95e on black: 9.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green78.8%
Blue36.9%

CMYK percentages

Cyan79.1%
Magenta0.0%
Yellow53.2%
Key (black)21.2%

Color previews

#2ac95e text on a black background

contrast 9.61:1

Card sample

#2ac95e text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ac95e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac95e in the Color Lab