Skip to content

#2dba4f

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

RGB
45, 186, 79
HSL
135°, 61%, 45%
CMYK
76, 0, 58, 27
Luminance
0.3624

Every format

HEX#2dba4f
RGBrgb(45, 186, 79)
HSLhsl(135, 61%, 45%)
CMYKcmyk(76%, 0%, 58%, 27%)
LABlab(66.7 -58.8 43.3)
LCHlch(66.7 73.0 143.7)
OKLCHoklch(0.693 0.189 147.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dba4f on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#2dba4f on black: 8.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green72.9%
Blue31.0%

CMYK percentages

Cyan75.8%
Magenta0.0%
Yellow57.5%
Key (black)27.1%

Color previews

#2dba4f text on a black background

contrast 8.25:1

Card sample

#2dba4f text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dba4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dba4f in the Color Lab