Skip to content

#28cf7f

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

RGB
40, 207, 127
HSL
151°, 68%, 48%
CMYK
81, 0, 39, 19
Luminance
0.4661

Every format

HEX#28cf7f
RGBrgb(40, 207, 127)
HSLhsl(151, 68%, 48%)
CMYKcmyk(81%, 0%, 39%, 19%)
LABlab(73.9 -58.9 28.4)
LCHlch(73.9 65.4 154.2)
OKLCHoklch(0.755 0.174 155.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#28cf7f on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#28cf7f on black: 10.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green81.2%
Blue49.8%

CMYK percentages

Cyan80.7%
Magenta0.0%
Yellow38.6%
Key (black)18.8%

Color previews

#28cf7f text on a black background

contrast 10.32:1

Card sample

#28cf7f text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #28cf7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #28cf7f in the Color Lab