Skip to content

#2afad9

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

RGB
42, 250, 217
HSL
171°, 95%, 57%
CMYK
83, 0, 13, 2
Luminance
0.7387

Every format

HEX#2afad9
RGBrgb(42, 250, 217)
HSLhsl(171, 95%, 57%)
CMYKcmyk(83%, 0%, 13%, 2%)
LABlab(88.9 -54.8 2.3)
LCHlch(88.9 54.8 177.6)
OKLCHoklch(0.884 0.157 178.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afad9 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#2afad9 on black: 15.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green98.0%
Blue85.1%

CMYK percentages

Cyan83.2%
Magenta0.0%
Yellow13.2%
Key (black)2.0%

Color previews

#2afad9 text on a black background

contrast 15.77:1

Card sample

#2afad9 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afad9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afad9 in the Color Lab