Skip to content

#2afcdf

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

RGB
42, 252, 223
HSL
172°, 97%, 58%
CMYK
83, 0, 12, 1
Luminance
0.7544

Every format

HEX#2afcdf
RGBrgb(42, 252, 223)
HSLhsl(172, 97%, 58%)
CMYKcmyk(83%, 0%, 12%, 1%)
LABlab(89.6 -54.0 0.3)
LCHlch(89.6 54.0 179.7)
OKLCHoklch(0.891 0.156 180.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afcdf on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#2afcdf on black: 16.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green98.8%
Blue87.5%

CMYK percentages

Cyan83.3%
Magenta0.0%
Yellow11.5%
Key (black)1.2%

Color previews

#2afcdf text on a black background

contrast 16.09:1

Card sample

#2afcdf text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afcdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afcdf in the Color Lab