Skip to content

#28df50

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

RGB
40, 223, 80
HSL
133°, 74%, 52%
CMYK
82, 0, 64, 13
Luminance
0.5381

Every format

HEX#28df50
RGBrgb(40, 223, 80)
HSLhsl(133, 74%, 52%)
CMYKcmyk(82%, 0%, 64%, 13%)
LABlab(78.3 -71.2 56.1)
LCHlch(78.3 90.7 141.8)
OKLCHoklch(0.790 0.232 145.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#28df50 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#28df50 on black: 11.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green87.5%
Blue31.4%

CMYK percentages

Cyan82.1%
Magenta0.0%
Yellow64.1%
Key (black)12.5%

Color previews

#28df50 text on a black background

contrast 11.76:1

Card sample

#28df50 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #28df50;
Background color
Panel with #28df50 background
background-color: #28df50;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 223, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 223, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #28df50;
background: linear-gradient(135deg, #28df50, #28DFCA);

Monochromatic scale

Palettes built from #28df50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #28df50 in the Color Lab