Skip to content

#2fcb2f

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

RGB
47, 203, 47
HSL
120°, 62%, 49%
CMYK
77, 0, 77, 20
Luminance
0.4352

Every format

HEX#2fcb2f
RGBrgb(47, 203, 47)
HSLhsl(120, 62%, 49%)
CMYKcmyk(77%, 0%, 77%, 20%)
LABlab(71.9 -67.2 61.7)
LCHlch(71.9 91.2 137.4)
OKLCHoklch(0.736 0.229 142.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fcb2f on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#2fcb2f on black: 9.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green79.6%
Blue18.4%

CMYK percentages

Cyan76.8%
Magenta0.0%
Yellow76.8%
Key (black)20.4%

Color previews

#2fcb2f text on a black background

contrast 9.70:1

Card sample

#2fcb2f text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fcb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fcb2f in the Color Lab