Skip to content

#2dba2e

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

RGB
45, 186, 46
HSL
120°, 61%, 45%
CMYK
76, 0, 75, 27
Luminance
0.3587

Every format

HEX#2dba2e
RGBrgb(45, 186, 46)
HSLhsl(120, 61%, 45%)
CMYKcmyk(76%, 0%, 75%, 27%)
LABlab(66.4 -62.2 56.6)
LCHlch(66.4 84.1 137.7)
OKLCHoklch(0.690 0.212 142.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dba2e on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#2dba2e on black: 8.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green72.9%
Blue18.0%

CMYK percentages

Cyan75.8%
Magenta0.0%
Yellow75.3%
Key (black)27.1%

Color previews

#2dba2e text on a black background

contrast 8.17:1

Card sample

#2dba2e text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dba2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dba2e in the Color Lab