Skip to content

#2ac50f

a dark, electric green · cool · closest name: lime

RGB
42, 197, 15
HSL
111°, 86%, 42%
CMYK
79, 0, 92, 23
Luminance
0.4046

Every format

HEX#2ac50f
RGBrgb(42, 197, 15)
HSLhsl(111, 86%, 42%)
CMYKcmyk(79%, 0%, 92%, 23%)
LABlab(69.8 -67.5 67.2)
LCHlch(69.8 95.3 135.1)
OKLCHoklch(0.718 0.235 141.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ac50f on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#2ac50f on black: 9.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green77.3%
Blue5.9%

CMYK percentages

Cyan78.7%
Magenta0.0%
Yellow92.4%
Key (black)22.7%

Color previews

#2ac50f text on a black background

contrast 9.09:1

Card sample

#2ac50f text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ac50f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac50f in the Color Lab