Skip to content

#2affc2

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

RGB
42, 255, 194
HSL
163°, 100%, 58%
CMYK
84, 0, 24, 0
Luminance
0.7591

Every format

HEX#2affc2
RGBrgb(42, 255, 194)
HSLhsl(163, 100%, 58%)
CMYKcmyk(84%, 0%, 24%, 0%)
LABlab(89.8 -62.3 15.6)
LCHlch(89.8 64.2 166.0)
OKLCHoklch(0.890 0.176 167.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2affc2 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#2affc2 on black: 16.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green100.0%
Blue76.1%

CMYK percentages

Cyan83.5%
Magenta0.0%
Yellow23.9%
Key (black)0.0%

Color previews

#2affc2 text on a black background

contrast 16.18:1

Card sample

#2affc2 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2affc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2affc2 in the Color Lab