Skip to content

#2adf97

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

RGB
42, 223, 151
HSL
156°, 74%, 52%
CMYK
81, 0, 32, 13
Luminance
0.5550

Every format

HEX#2adf97
RGBrgb(42, 223, 151)
HSLhsl(156, 74%, 52%)
CMYKcmyk(81%, 0%, 32%, 13%)
LABlab(79.3 -59.7 23.2)
LCHlch(79.3 64.1 158.7)
OKLCHoklch(0.801 0.172 160.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2adf97 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#2adf97 on black: 12.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green87.5%
Blue59.2%

CMYK percentages

Cyan81.2%
Magenta0.0%
Yellow32.3%
Key (black)12.5%

Color previews

#2adf97 text on a black background

contrast 12.10:1

Card sample

#2adf97 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 223, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 223, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2adf97;
background: linear-gradient(135deg, #2adf97, #2AAFDF);

Monochromatic scale

Palettes built from #2adf97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2adf97 in the Color Lab