Skip to content

#2fbf21

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

RGB
47, 191, 33
HSL
115°, 71%, 44%
CMYK
75, 0, 83, 25
Luminance
0.3798

Every format

HEX#2fbf21
RGBrgb(47, 191, 33)
HSLhsl(115, 71%, 44%)
CMYKcmyk(75%, 0%, 83%, 25%)
LABlab(68.0 -64.3 62.1)
LCHlch(68.0 89.4 136.0)
OKLCHoklch(0.703 0.223 141.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fbf21 on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#2fbf21 on black: 8.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green74.9%
Blue12.9%

CMYK percentages

Cyan75.4%
Magenta0.0%
Yellow82.7%
Key (black)25.1%

Color previews

#2fbf21 text on a black background

contrast 8.60:1

Card sample

#2fbf21 text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fbf21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fbf21 in the Color Lab