Skip to content

#2ac93f

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

RGB
42, 201, 63
HSL
128°, 65%, 48%
CMYK
79, 0, 69, 21
Luminance
0.4262

Every format

HEX#2ac93f
RGBrgb(42, 201, 63)
HSLhsl(128, 65%, 48%)
CMYKcmyk(79%, 0%, 69%, 21%)
LABlab(71.3 -65.9 55.4)
LCHlch(71.3 86.1 140.0)
OKLCHoklch(0.731 0.219 144.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ac93f on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#2ac93f on black: 9.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green78.8%
Blue24.7%

CMYK percentages

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

Color previews

#2ac93f text on a black background

contrast 9.52:1

Card sample

#2ac93f text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ac93f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac93f in the Color Lab