Skip to content

#2acf1f

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

RGB
42, 207, 31
HSL
116°, 74%, 47%
CMYK
80, 0, 85, 19
Luminance
0.4522

Every format

HEX#2acf1f
RGBrgb(42, 207, 31)
HSLhsl(116, 74%, 47%)
CMYKcmyk(80%, 0%, 85%, 19%)
LABlab(73.0 -69.9 67.1)
LCHlch(73.0 96.9 136.2)
OKLCHoklch(0.745 0.241 142.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green81.2%
Blue12.2%

CMYK percentages

Cyan79.7%
Magenta0.0%
Yellow85.0%
Key (black)18.8%

Color previews

#2acf1f text on a black background

contrast 10.04:1

Card sample

#2acf1f text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2acf1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2acf1f in the Color Lab