Skip to content

#2dcc4f

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

RGB
45, 204, 79
HSL
133°, 64%, 49%
CMYK
78, 0, 61, 20
Luminance
0.4431

Every format

HEX#2dcc4f
RGBrgb(45, 204, 79)
HSLhsl(133, 64%, 49%)
CMYKcmyk(78%, 0%, 61%, 20%)
LABlab(72.4 -64.8 49.9)
LCHlch(72.4 81.8 142.4)
OKLCHoklch(0.741 0.210 146.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dcc4f on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#2dcc4f on black: 9.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green80.0%
Blue31.0%

CMYK percentages

Cyan77.9%
Magenta0.0%
Yellow61.3%
Key (black)20.0%

Color previews

#2dcc4f text on a black background

contrast 9.86:1

Card sample

#2dcc4f text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dcc4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dcc4f in the Color Lab