Skip to content

#2dbf20

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

RGB
45, 191, 32
HSL
115°, 71%, 44%
CMYK
76, 0, 83, 25
Luminance
0.3792

Every format

HEX#2dbf20
RGBrgb(45, 191, 32)
HSLhsl(115, 71%, 44%)
CMYKcmyk(76%, 0%, 83%, 25%)
LABlab(68.0 -64.7 62.3)
LCHlch(68.0 89.8 136.1)
OKLCHoklch(0.703 0.223 142.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dbf20 on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#2dbf20 on black: 8.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green74.9%
Blue12.5%

CMYK percentages

Cyan76.4%
Magenta0.0%
Yellow83.2%
Key (black)25.1%

Color previews

#2dbf20 text on a black background

contrast 8.58:1

Card sample

#2dbf20 text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dbf20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dbf20 in the Color Lab