Skip to content

#2acb50

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

RGB
42, 203, 80
HSL
134°, 66%, 48%
CMYK
79, 0, 61, 20
Luminance
0.4378

Every format

HEX#2acb50
RGBrgb(42, 203, 80)
HSLhsl(134, 66%, 48%)
CMYKcmyk(79%, 0%, 61%, 20%)
LABlab(72.1 -64.7 49.1)
LCHlch(72.1 81.2 142.8)
OKLCHoklch(0.738 0.209 146.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2acb50 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#2acb50 on black: 9.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green79.6%
Blue31.4%

CMYK percentages

Cyan79.3%
Magenta0.0%
Yellow60.6%
Key (black)20.4%

Color previews

#2acb50 text on a black background

contrast 9.76:1

Card sample

#2acb50 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2acb50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2acb50 in the Color Lab