Skip to content

#2abc1c

a dark, vivid green · cool · closest name: green

RGB
42, 188, 28
HSL
115°, 74%, 42%
CMYK
78, 0, 85, 26
Luminance
0.3654

Every format

HEX#2abc1c
RGBrgb(42, 188, 28)
HSLhsl(115, 74%, 42%)
CMYKcmyk(78%, 0%, 85%, 26%)
LABlab(66.9 -64.4 62.3)
LCHlch(66.9 89.6 135.9)
OKLCHoklch(0.694 0.223 142.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2abc1c on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#2abc1c on black: 8.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green73.7%
Blue11.0%

CMYK percentages

Cyan77.7%
Magenta0.0%
Yellow85.1%
Key (black)26.3%

Color previews

#2abc1c text on a black background

contrast 8.31:1

Card sample

#2abc1c text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2abc1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2abc1c in the Color Lab