Skip to content

#2acf37

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

RGB
42, 207, 55
HSL
125°, 66%, 49%
CMYK
80, 0, 73, 19
Luminance
0.4539

Every format

HEX#2acf37
RGBrgb(42, 207, 55)
HSLhsl(125, 66%, 49%)
CMYKcmyk(80%, 0%, 73%, 19%)
LABlab(73.2 -68.4 60.2)
LCHlch(73.2 91.2 138.6)
OKLCHoklch(0.746 0.230 143.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2acf37 on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#2acf37 on black: 10.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green81.2%
Blue21.6%

CMYK percentages

Cyan79.7%
Magenta0.0%
Yellow73.4%
Key (black)18.8%

Color previews

#2acf37 text on a black background

contrast 10.08:1

Card sample

#2acf37 text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2acf37

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2acf37 in the Color Lab