Skip to content

#2afecc

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

RGB
42, 254, 204
HSL
166°, 99%, 58%
CMYK
84, 0, 20, 0
Luminance
0.7574

Every format

HEX#2afecc
RGBrgb(42, 254, 204)
HSLhsl(166, 99%, 58%)
CMYKcmyk(84%, 0%, 20%, 0%)
LABlab(89.7 -59.5 10.3)
LCHlch(89.7 60.4 170.2)
OKLCHoklch(0.890 0.168 171.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green99.6%
Blue80.0%

CMYK percentages

Cyan83.5%
Magenta0.0%
Yellow19.7%
Key (black)0.4%

Color previews

#2afecc text on a black background

contrast 16.15:1

Card sample

#2afecc text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afecc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afecc in the Color Lab