Skip to content

#2ac53c

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

RGB
42, 197, 60
HSL
127°, 65%, 47%
CMYK
79, 0, 70, 23
Luminance
0.4075

Every format

HEX#2ac53c
RGBrgb(42, 197, 60)
HSLhsl(127, 65%, 47%)
CMYKcmyk(79%, 0%, 70%, 23%)
LABlab(70.0 -64.9 55.1)
LCHlch(70.0 85.2 139.7)
OKLCHoklch(0.720 0.216 144.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green77.3%
Blue23.5%

CMYK percentages

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

Color previews

#2ac53c text on a black background

contrast 9.15:1

Card sample

#2ac53c text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ac53c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac53c in the Color Lab