Skip to content

#2ac53e

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

RGB
42, 197, 62
HSL
128°, 65%, 47%
CMYK
79, 0, 69, 23
Luminance
0.4077

Every format

HEX#2ac53e
RGBrgb(42, 197, 62)
HSLhsl(128, 65%, 47%)
CMYKcmyk(79%, 0%, 69%, 23%)
LABlab(70.0 -64.7 54.4)
LCHlch(70.0 84.5 140.0)
OKLCHoklch(0.720 0.215 144.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ac53e on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#2ac53e on black: 9.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green77.3%
Blue24.3%

CMYK percentages

Cyan78.7%
Magenta0.0%
Yellow68.5%
Key (black)22.7%

Color previews

#2ac53e text on a black background

contrast 9.15:1

Card sample

#2ac53e text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ac53e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac53e in the Color Lab