Skip to content

#2fad4e

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

RGB
47, 173, 78
HSL
135°, 57%, 43%
CMYK
73, 0, 55, 32
Luminance
0.3104

Every format

HEX#2fad4e
RGBrgb(47, 173, 78)
HSLhsl(135, 57%, 43%)
CMYKcmyk(73%, 0%, 55%, 32%)
LABlab(62.5 -54.1 38.8)
LCHlch(62.5 66.6 144.4)
OKLCHoklch(0.659 0.173 147.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fad4e on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#2fad4e on black: 7.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green67.8%
Blue30.6%

CMYK percentages

Cyan72.8%
Magenta0.0%
Yellow54.9%
Key (black)32.2%

Color previews

#2fad4e text on a black background

contrast 7.21:1

Card sample

#2fad4e text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fad4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fad4e in the Color Lab