Skip to content

#2dba3f

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

RGB
45, 186, 63
HSL
128°, 61%, 45%
CMYK
76, 0, 66, 27
Luminance
0.3603

Every format

HEX#2dba3f
RGBrgb(45, 186, 63)
HSLhsl(128, 61%, 45%)
CMYKcmyk(76%, 0%, 66%, 27%)
LABlab(66.5 -60.7 50.2)
LCHlch(66.5 78.8 140.4)
OKLCHoklch(0.692 0.201 144.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dba3f on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#2dba3f on black: 8.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green72.9%
Blue24.7%

CMYK percentages

Cyan75.8%
Magenta0.0%
Yellow66.1%
Key (black)27.1%

Color previews

#2dba3f text on a black background

contrast 8.21:1

Card sample

#2dba3f text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dba3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dba3f in the Color Lab