Skip to content

#2afccc

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

RGB
42, 252, 204
HSL
166°, 97%, 58%
CMYK
83, 0, 19, 1
Luminance
0.7447

Every format

HEX#2afccc
RGBrgb(42, 252, 204)
HSLhsl(166, 97%, 58%)
CMYKcmyk(83%, 0%, 19%, 1%)
LABlab(89.1 -58.8 9.5)
LCHlch(89.1 59.5 170.8)
OKLCHoklch(0.886 0.166 171.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green98.8%
Blue80.0%

CMYK percentages

Cyan83.3%
Magenta0.0%
Yellow19.0%
Key (black)1.2%

Color previews

#2afccc text on a black background

contrast 15.89:1

Card sample

#2afccc text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afccc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afccc in the Color Lab