Skip to content

#2dad4f

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

RGB
45, 173, 79
HSL
136°, 59%, 43%
CMYK
74, 0, 54, 32
Luminance
0.3101

Every format

HEX#2dad4f
RGBrgb(45, 173, 79)
HSLhsl(136, 59%, 43%)
CMYKcmyk(74%, 0%, 54%, 32%)
LABlab(62.5 -54.3 38.3)
LCHlch(62.5 66.5 144.8)
OKLCHoklch(0.659 0.173 147.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dad4f on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#2dad4f on black: 7.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green67.8%
Blue31.0%

CMYK percentages

Cyan74.0%
Magenta0.0%
Yellow54.3%
Key (black)32.2%

Color previews

#2dad4f text on a black background

contrast 7.20:1

Card sample

#2dad4f text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dad4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dad4f in the Color Lab