Skip to content

#2dfd0c

a balanced, electric green · cool · closest name: lime

RGB
45, 253, 12
HSL
112°, 98%, 52%
CMYK
82, 0, 95, 1
Luminance
0.7083

Every format

HEX#2dfd0c
RGBrgb(45, 253, 12)
HSLhsl(112, 98%, 52%)
CMYKcmyk(82%, 0%, 95%, 1%)
LABlab(87.4 -83.0 82.1)
LCHlch(87.4 116.8 135.3)
OKLCHoklch(0.865 0.288 141.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dfd0c on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#2dfd0c on black: 15.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green99.2%
Blue4.7%

CMYK percentages

Cyan82.2%
Magenta0.0%
Yellow95.3%
Key (black)0.8%

Color previews

#2dfd0c text on a black background

contrast 15.17:1

Card sample

#2dfd0c text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dfd0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dfd0c in the Color Lab