Skip to content

#28df80

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

RGB
40, 223, 128
HSL
149°, 74%, 52%
CMYK
82, 0, 43, 13
Luminance
0.5478

Every format

HEX#28df80
RGBrgb(40, 223, 128)
HSLhsl(149, 74%, 52%)
CMYKcmyk(82%, 0%, 43%, 13%)
LABlab(78.9 -64.4 34.5)
LCHlch(78.9 73.0 151.8)
OKLCHoklch(0.796 0.193 153.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#28df80 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#28df80 on black: 11.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green87.5%
Blue50.2%

CMYK percentages

Cyan82.1%
Magenta0.0%
Yellow42.6%
Key (black)12.5%

Color previews

#28df80 text on a black background

contrast 11.96:1

Card sample

#28df80 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #28df80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #28df80 in the Color Lab