Skip to content

#2fc02a

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

RGB
47, 192, 42
HSL
118°, 64%, 46%
CMYK
76, 0, 78, 25
Luminance
0.3847

Every format

HEX#2fc02a
RGBrgb(47, 192, 42)
HSLhsl(118, 64%, 46%)
CMYKcmyk(76%, 0%, 78%, 25%)
LABlab(68.4 -64.1 59.9)
LCHlch(68.4 87.7 137.0)
OKLCHoklch(0.706 0.220 142.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red18.4%
Green75.3%
Blue16.5%

CMYK percentages

Cyan75.5%
Magenta0.0%
Yellow78.1%
Key (black)24.7%

Color previews

#2fc02a text on a black background

contrast 8.69:1

Card sample

#2fc02a text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fc02a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fc02a in the Color Lab