Skip to content

#2abc28

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

RGB
42, 188, 40
HSL
119°, 65%, 45%
CMYK
78, 0, 79, 26
Luminance
0.3661

Every format

HEX#2abc28
RGBrgb(42, 188, 40)
HSLhsl(119, 65%, 45%)
CMYKcmyk(78%, 0%, 79%, 26%)
LABlab(67.0 -63.7 59.1)
LCHlch(67.0 86.9 137.1)
OKLCHoklch(0.695 0.218 142.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2abc28 on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#2abc28 on black: 8.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green73.7%
Blue15.7%

CMYK percentages

Cyan77.7%
Magenta0.0%
Yellow78.7%
Key (black)26.3%

Color previews

#2abc28 text on a black background

contrast 8.32:1

Card sample

#2abc28 text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2abc28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2abc28 in the Color Lab