Skip to content

#2dbf38

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

RGB
45, 191, 56
HSL
125°, 62%, 46%
CMYK
76, 0, 71, 25
Luminance
0.3811

Every format

HEX#2dbf38
RGBrgb(45, 191, 56)
HSLhsl(125, 62%, 46%)
CMYKcmyk(76%, 0%, 71%, 25%)
LABlab(68.1 -63.0 54.7)
LCHlch(68.1 83.4 139.0)
OKLCHoklch(0.704 0.211 143.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dbf38 on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#2dbf38 on black: 8.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green74.9%
Blue22.0%

CMYK percentages

Cyan76.4%
Magenta0.0%
Yellow70.7%
Key (black)25.1%

Color previews

#2dbf38 text on a black background

contrast 8.62:1

Card sample

#2dbf38 text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dbf38

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dbf38 in the Color Lab