Skip to content

#2df679

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

RGB
45, 246, 121
HSL
143°, 92%, 57%
CMYK
82, 0, 51, 4
Luminance
0.6785

Every format

HEX#2df679
RGBrgb(45, 246, 121)
HSLhsl(143, 92%, 57%)
CMYKcmyk(82%, 0%, 51%, 4%)
LABlab(85.9 -72.7 46.8)
LCHlch(85.9 86.4 147.2)
OKLCHoklch(0.854 0.225 149.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2df679 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#2df679 on black: 14.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green96.5%
Blue47.5%

CMYK percentages

Cyan81.7%
Magenta0.0%
Yellow50.8%
Key (black)3.5%

Color previews

#2df679 text on a black background

contrast 14.57:1

Card sample

#2df679 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2df679

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2df679 in the Color Lab