Skip to content

#2affc5

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

RGB
42, 255, 197
HSL
164°, 100%, 58%
CMYK
84, 0, 23, 0
Luminance
0.7604

Every format

HEX#2affc5
RGBrgb(42, 255, 197)
HSLhsl(164, 100%, 58%)
CMYKcmyk(84%, 0%, 23%, 0%)
LABlab(89.9 -61.6 14.1)
LCHlch(89.9 63.2 167.1)
OKLCHoklch(0.891 0.174 168.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green100.0%
Blue77.3%

CMYK percentages

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

Color previews

#2affc5 text on a black background

contrast 16.21:1

Card sample

#2affc5 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2affc5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2affc5 in the Color Lab