Skip to content

#2ac56f

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

RGB
42, 197, 111
HSL
147°, 65%, 47%
CMYK
79, 0, 44, 23
Luminance
0.4157

Every format

HEX#2ac56f
RGBrgb(42, 197, 111)
HSLhsl(147, 65%, 47%)
CMYKcmyk(79%, 0%, 44%, 23%)
LABlab(70.6 -58.1 32.3)
LCHlch(70.6 66.4 150.9)
OKLCHoklch(0.727 0.175 153.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ac56f on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#2ac56f on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green77.3%
Blue43.5%

CMYK percentages

Cyan78.7%
Magenta0.0%
Yellow43.7%
Key (black)22.7%

Color previews

#2ac56f text on a black background

contrast 9.31:1

Card sample

#2ac56f text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ac56f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac56f in the Color Lab