Skip to content

#2afecf

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

RGB
42, 254, 207
HSL
167°, 99%, 58%
CMYK
84, 0, 19, 0
Luminance
0.7588

Every format

HEX#2afecf
RGBrgb(42, 254, 207)
HSLhsl(167, 99%, 58%)
CMYKcmyk(84%, 0%, 19%, 0%)
LABlab(89.8 -58.8 8.9)
LCHlch(89.8 59.5 171.4)
OKLCHoklch(0.891 0.166 172.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green99.6%
Blue81.2%

CMYK percentages

Cyan83.5%
Magenta0.0%
Yellow18.5%
Key (black)0.4%

Color previews

#2afecf text on a black background

contrast 16.18:1

Card sample

#2afecf text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afecf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afecf in the Color Lab