Skip to content

#2ac50d

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

RGB
42, 197, 13
HSL
111°, 88%, 41%
CMYK
79, 0, 93, 23
Luminance
0.4045

Every format

HEX#2ac50d
RGBrgb(42, 197, 13)
HSLhsl(111, 88%, 41%)
CMYKcmyk(79%, 0%, 93%, 23%)
LABlab(69.8 -67.5 67.5)
LCHlch(69.8 95.5 135.0)
OKLCHoklch(0.718 0.235 141.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green77.3%
Blue5.1%

CMYK percentages

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

Color previews

#2ac50d text on a black background

contrast 9.09:1

Card sample

#2ac50d text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ac50d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac50d in the Color Lab