Skip to content

#2cc02f

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

RGB
44, 192, 47
HSL
121°, 63%, 46%
CMYK
77, 0, 76, 25
Luminance
0.3844

Every format

HEX#2cc02f
RGBrgb(44, 192, 47)
HSLhsl(121, 63%, 46%)
CMYKcmyk(77%, 0%, 76%, 25%)
LABlab(68.3 -64.2 58.2)
LCHlch(68.3 86.6 137.8)
OKLCHoklch(0.706 0.218 143.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red17.3%
Green75.3%
Blue18.4%

CMYK percentages

Cyan77.1%
Magenta0.0%
Yellow75.5%
Key (black)24.7%

Color previews

#2cc02f text on a black background

contrast 8.69:1

Card sample

#2cc02f text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2cc02f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cc02f in the Color Lab