Skip to content

#2def1d

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

RGB
45, 239, 29
HSL
115°, 87%, 53%
CMYK
81, 0, 88, 6
Luminance
0.6238

Every format

HEX#2def1d
RGBrgb(45, 239, 29)
HSLhsl(115, 87%, 53%)
CMYKcmyk(81%, 0%, 88%, 6%)
LABlab(83.1 -78.8 76.3)
LCHlch(83.1 109.7 135.9)
OKLCHoklch(0.829 0.272 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2def1d on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#2def1d on black: 13.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green93.7%
Blue11.4%

CMYK percentages

Cyan81.2%
Magenta0.0%
Yellow87.9%
Key (black)6.3%

Color previews

#2def1d text on a black background

contrast 13.48:1

Card sample

#2def1d text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2def1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2def1d in the Color Lab