Skip to content

#2cf259

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

RGB
44, 242, 89
HSL
134°, 88%, 56%
CMYK
82, 0, 63, 5
Luminance
0.6476

Every format

HEX#2cf259
RGBrgb(44, 242, 89)
HSLhsl(134, 88%, 56%)
CMYKcmyk(82%, 0%, 63%, 5%)
LABlab(84.4 -75.6 59.1)
LCHlch(84.4 96.0 142.0)
OKLCHoklch(0.840 0.246 145.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2cf259 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#2cf259 on black: 13.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green94.9%
Blue34.9%

CMYK percentages

Cyan81.8%
Magenta0.0%
Yellow63.2%
Key (black)5.1%

Color previews

#2cf259 text on a black background

contrast 13.95:1

Card sample

#2cf259 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 242, 89, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 242, 89, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2cf259;
background: linear-gradient(135deg, #2cf259, #2CF2DD);

Monochromatic scale

Palettes built from #2cf259

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cf259 in the Color Lab