Skip to content

#2acf2f

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

RGB
42, 207, 47
HSL
122°, 66%, 49%
CMYK
80, 0, 77, 19
Luminance
0.4532

Every format

HEX#2acf2f
RGBrgb(42, 207, 47)
HSLhsl(122, 66%, 49%)
CMYKcmyk(80%, 0%, 77%, 19%)
LABlab(73.1 -69.0 62.8)
LCHlch(73.1 93.3 137.7)
OKLCHoklch(0.746 0.234 143.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2acf2f on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#2acf2f on black: 10.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green81.2%
Blue18.4%

CMYK percentages

Cyan79.7%
Magenta0.0%
Yellow77.3%
Key (black)18.8%

Color previews

#2acf2f text on a black background

contrast 10.06:1

Card sample

#2acf2f text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2acf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2acf2f in the Color Lab