Skip to content

#28cf97

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

RGB
40, 207, 151
HSL
160°, 68%, 48%
CMYK
81, 0, 27, 19
Luminance
0.4731

Every format

HEX#28cf97
RGBrgb(40, 207, 151)
HSLhsl(160, 68%, 48%)
CMYKcmyk(81%, 0%, 27%, 19%)
LABlab(74.4 -53.9 16.4)
LCHlch(74.4 56.3 163.1)
OKLCHoklch(0.760 0.153 164.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#28cf97 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#28cf97 on black: 10.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green81.2%
Blue59.2%

CMYK percentages

Cyan80.7%
Magenta0.0%
Yellow27.1%
Key (black)18.8%

Color previews

#28cf97 text on a black background

contrast 10.46:1

Card sample

#28cf97 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #28cf97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #28cf97 in the Color Lab