Skip to content

#2affc9

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

RGB
42, 255, 201
HSL
165°, 100%, 58%
CMYK
84, 0, 21, 0
Luminance
0.7623

Every format

HEX#2affc9
RGBrgb(42, 255, 201)
HSLhsl(165, 100%, 58%)
CMYKcmyk(84%, 0%, 21%, 0%)
LABlab(90.0 -60.6 12.2)
LCHlch(90.0 61.9 168.6)
OKLCHoklch(0.892 0.171 169.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2affc9 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#2affc9 on black: 16.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green100.0%
Blue78.8%

CMYK percentages

Cyan83.5%
Magenta0.0%
Yellow21.2%
Key (black)0.0%

Color previews

#2affc9 text on a black background

contrast 16.25:1

Card sample

#2affc9 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2affc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2affc9 in the Color Lab