Skip to content

#2def5d

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

RGB
45, 239, 93
HSL
135°, 86%, 56%
CMYK
81, 0, 61, 6
Luminance
0.6308

Every format

HEX#2def5d
RGBrgb(45, 239, 93)
HSLhsl(135, 86%, 56%)
CMYKcmyk(81%, 0%, 61%, 6%)
LABlab(83.5 -74.1 56.5)
LCHlch(83.5 93.2 142.7)
OKLCHoklch(0.833 0.239 146.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2def5d on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#2def5d on black: 13.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green93.7%
Blue36.5%

CMYK percentages

Cyan81.2%
Magenta0.0%
Yellow61.1%
Key (black)6.3%

Color previews

#2def5d text on a black background

contrast 13.62:1

Card sample

#2def5d text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2def5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2def5d in the Color Lab