Skip to content

#2dbf52

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

RGB
45, 191, 82
HSL
135°, 62%, 46%
CMYK
76, 0, 57, 25
Luminance
0.3843

Every format

HEX#2dbf52
RGBrgb(45, 191, 82)
HSLhsl(135, 62%, 46%)
CMYKcmyk(76%, 0%, 57%, 25%)
LABlab(68.3 -60.1 43.8)
LCHlch(68.3 74.4 143.9)
OKLCHoklch(0.707 0.192 147.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red17.6%
Green74.9%
Blue32.2%

CMYK percentages

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

Color previews

#2dbf52 text on a black background

contrast 8.69:1

Card sample

#2dbf52 text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dbf52

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dbf52 in the Color Lab