Skip to content

#2fd142

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

RGB
47, 209, 66
HSL
127°, 64%, 50%
CMYK
78, 0, 68, 18
Luminance
0.4660

Every format

HEX#2fd142
RGBrgb(47, 209, 66)
HSLhsl(127, 64%, 50%)
CMYKcmyk(78%, 0%, 68%, 18%)
LABlab(73.9 -67.5 57.0)
LCHlch(73.9 88.3 139.8)
OKLCHoklch(0.753 0.224 144.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fd142 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#2fd142 on black: 10.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green82.0%
Blue25.9%

CMYK percentages

Cyan77.5%
Magenta0.0%
Yellow68.4%
Key (black)18.0%

Color previews

#2fd142 text on a black background

contrast 10.32:1

Card sample

#2fd142 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fd142

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fd142 in the Color Lab