Skip to content

#2ac95f

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

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

Every format

HEX#2ac95f
RGBrgb(42, 201, 95)
HSLhsl(140, 65%, 48%)
CMYKcmyk(79%, 0%, 53%, 21%)
LABlab(71.6 -62.0 41.5)
LCHlch(71.6 74.7 146.2)
OKLCHoklch(0.735 0.194 149.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green78.8%
Blue37.3%

CMYK percentages

Cyan79.1%
Magenta0.0%
Yellow52.7%
Key (black)21.2%

Color previews

#2ac95f text on a black background

contrast 9.62:1

Card sample

#2ac95f text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ac95f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac95f in the Color Lab