Skip to content

#2def76

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

RGB
45, 239, 118
HSL
143°, 86%, 56%
CMYK
81, 0, 51, 6
Luminance
0.6360

Every format

HEX#2def76
RGBrgb(45, 239, 118)
HSLhsl(143, 86%, 56%)
CMYKcmyk(81%, 0%, 51%, 6%)
LABlab(83.8 -70.9 45.5)
LCHlch(83.8 84.2 147.3)
OKLCHoklch(0.836 0.220 149.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2def76 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#2def76 on black: 13.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green93.7%
Blue46.3%

CMYK percentages

Cyan81.2%
Magenta0.0%
Yellow50.6%
Key (black)6.3%

Color previews

#2def76 text on a black background

contrast 13.72:1

Card sample

#2def76 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2def76

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2def76 in the Color Lab