Skip to content

#2acb2d

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

RGB
42, 203, 45
HSL
121°, 66%, 48%
CMYK
79, 0, 78, 20
Luminance
0.4339

Every format

HEX#2acb2d
RGBrgb(42, 203, 45)
HSLhsl(121, 66%, 48%)
CMYKcmyk(79%, 0%, 78%, 20%)
LABlab(71.8 -67.9 62.2)
LCHlch(71.8 92.1 137.5)
OKLCHoklch(0.735 0.231 142.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2acb2d on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#2acb2d on black: 9.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green79.6%
Blue17.6%

CMYK percentages

Cyan79.3%
Magenta0.0%
Yellow77.8%
Key (black)20.4%

Color previews

#2acb2d text on a black background

contrast 9.68:1

Card sample

#2acb2d text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2acb2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2acb2d in the Color Lab