Skip to content

#2ac02b

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

RGB
42, 192, 43
HSL
120°, 64%, 46%
CMYK
78, 0, 78, 25
Luminance
0.3837

Every format

HEX#2ac02b
RGBrgb(42, 192, 43)
HSLhsl(120, 64%, 46%)
CMYKcmyk(78%, 0%, 78%, 25%)
LABlab(68.3 -64.7 59.4)
LCHlch(68.3 87.9 137.4)
OKLCHoklch(0.706 0.220 142.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ac02b on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#2ac02b on black: 8.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green75.3%
Blue16.9%

CMYK percentages

Cyan78.1%
Magenta0.0%
Yellow77.6%
Key (black)24.7%

Color previews

#2ac02b text on a black background

contrast 8.67:1

Card sample

#2ac02b text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ac02b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac02b in the Color Lab