Skip to content

#2dbf50

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

RGB
45, 191, 80
HSL
134°, 62%, 46%
CMYK
76, 0, 58, 25
Luminance
0.3840

Every format

HEX#2dbf50
RGBrgb(45, 191, 80)
HSLhsl(134, 62%, 46%)
CMYKcmyk(76%, 0%, 58%, 25%)
LABlab(68.3 -60.4 44.7)
LCHlch(68.3 75.1 143.5)
OKLCHoklch(0.707 0.194 146.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red17.6%
Green74.9%
Blue31.4%

CMYK percentages

Cyan76.4%
Magenta0.0%
Yellow58.1%
Key (black)25.1%

Color previews

#2dbf50 text on a black background

contrast 8.68:1

Card sample

#2dbf50 text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 191, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 191, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2dbf50;
background: linear-gradient(135deg, #2dbf50, #2DBFB2);

Monochromatic scale

Palettes built from #2dbf50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dbf50 in the Color Lab