Skip to content

#2cbf28

a balanced, vivid green · cool · closest name: green

RGB
44, 191, 40
HSL
118°, 65%, 45%
CMYK
77, 0, 79, 25
Luminance
0.3795

Every format

HEX#2cbf28
RGBrgb(44, 191, 40)
HSLhsl(118, 65%, 45%)
CMYKcmyk(77%, 0%, 79%, 25%)
LABlab(68.0 -64.3 60.1)
LCHlch(68.0 88.0 137.0)
OKLCHoklch(0.703 0.220 142.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2cbf28 on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#2cbf28 on black: 8.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green74.9%
Blue15.7%

CMYK percentages

Cyan77.0%
Magenta0.0%
Yellow79.1%
Key (black)25.1%

Color previews

#2cbf28 text on a black background

contrast 8.59:1

Card sample

#2cbf28 text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 191, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 191, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2cbf28;
background: linear-gradient(135deg, #2cbf28, #28BF89);

Monochromatic scale

Palettes built from #2cbf28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cbf28 in the Color Lab