Skip to content

#2affc6

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

RGB
42, 255, 198
HSL
164°, 100%, 58%
CMYK
84, 0, 22, 0
Luminance
0.7609

Every format

HEX#2affc6
RGBrgb(42, 255, 198)
HSLhsl(164, 100%, 58%)
CMYKcmyk(84%, 0%, 22%, 0%)
LABlab(89.9 -61.3 13.6)
LCHlch(89.9 62.8 167.5)
OKLCHoklch(0.891 0.173 168.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green100.0%
Blue77.6%

CMYK percentages

Cyan83.5%
Magenta0.0%
Yellow22.4%
Key (black)0.0%

Color previews

#2affc6 text on a black background

contrast 16.22:1

Card sample

#2affc6 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2affc6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2affc6 in the Color Lab