Skip to content

#2defab

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

RGB
45, 239, 171
HSL
159°, 86%, 56%
CMYK
81, 0, 29, 6
Luminance
0.6523

Every format

HEX#2defab
RGBrgb(45, 239, 171)
HSLhsl(159, 86%, 56%)
CMYKcmyk(81%, 0%, 29%, 6%)
LABlab(84.6 -61.1 20.1)
LCHlch(84.6 64.4 161.8)
OKLCHoklch(0.846 0.175 162.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2defab on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#2defab on black: 14.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green93.7%
Blue67.1%

CMYK percentages

Cyan81.2%
Magenta0.0%
Yellow28.5%
Key (black)6.3%

Color previews

#2defab text on a black background

contrast 14.05:1

Card sample

#2defab text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 239, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 239, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2defab;
background: linear-gradient(135deg, #2defab, #2DB2EF);

Monochromatic scale

Palettes built from #2defab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2defab in the Color Lab