Skip to content

#2fab3e

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

RGB
47, 171, 62
HSL
127°, 57%, 43%
CMYK
73, 0, 64, 33
Luminance
0.3008

Every format

HEX#2fab3e
RGBrgb(47, 171, 62)
HSLhsl(127, 57%, 43%)
CMYKcmyk(73%, 0%, 64%, 33%)
LABlab(61.7 -55.5 45.3)
LCHlch(61.7 71.7 140.7)
OKLCHoklch(0.652 0.183 144.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fab3e on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#2fab3e on black: 7.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green67.1%
Blue24.3%

CMYK percentages

Cyan72.5%
Magenta0.0%
Yellow63.7%
Key (black)32.9%

Color previews

#2fab3e text on a black background

contrast 7.02:1

Card sample

#2fab3e text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fab3e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fab3e in the Color Lab