Skip to content

#2afccd

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

RGB
42, 252, 205
HSL
167°, 97%, 58%
CMYK
83, 0, 19, 1
Luminance
0.7452

Every format

HEX#2afccd
RGBrgb(42, 252, 205)
HSLhsl(167, 97%, 58%)
CMYKcmyk(83%, 0%, 19%, 1%)
LABlab(89.2 -58.5 9.0)
LCHlch(89.2 59.2 171.3)
OKLCHoklch(0.886 0.166 172.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afccd on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#2afccd on black: 15.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green98.8%
Blue80.4%

CMYK percentages

Cyan83.3%
Magenta0.0%
Yellow18.7%
Key (black)1.2%

Color previews

#2afccd text on a black background

contrast 15.90:1

Card sample

#2afccd text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afccd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afccd in the Color Lab