Skip to content

#2dbf28

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

RGB
45, 191, 40
HSL
118°, 65%, 45%
CMYK
76, 0, 79, 25
Luminance
0.3797

Every format

HEX#2dbf28
RGBrgb(45, 191, 40)
HSLhsl(118, 65%, 45%)
CMYKcmyk(76%, 0%, 79%, 25%)
LABlab(68.0 -64.2 60.1)
LCHlch(68.0 87.9 136.9)
OKLCHoklch(0.703 0.220 142.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red17.6%
Green74.9%
Blue15.7%

CMYK percentages

Cyan76.4%
Magenta0.0%
Yellow79.1%
Key (black)25.1%

Color previews

#2dbf28 text on a black background

contrast 8.59:1

Card sample

#2dbf28 text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dbf28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dbf28 in the Color Lab