Skip to content

#2dab0f

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

RGB
45, 171, 15
HSL
109°, 84%, 37%
CMYK
74, 0, 91, 33
Luminance
0.2972

Every format

HEX#2dab0f
RGBrgb(45, 171, 15)
HSLhsl(109, 84%, 37%)
CMYKcmyk(74%, 0%, 91%, 33%)
LABlab(61.4 -59.1 60.2)
LCHlch(61.4 84.4 134.5)
OKLCHoklch(0.648 0.208 141.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dab0f on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#2dab0f on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green67.1%
Blue5.9%

CMYK percentages

Cyan73.7%
Magenta0.0%
Yellow91.2%
Key (black)32.9%

Color previews

#2dab0f text on a black background

contrast 6.94:1

Card sample

#2dab0f text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dab0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dab0f in the Color Lab