Skip to content

#2afcc2

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

RGB
42, 252, 194
HSL
163°, 97%, 58%
CMYK
83, 0, 23, 1
Luminance
0.7401

Every format

HEX#2afcc2
RGBrgb(42, 252, 194)
HSLhsl(163, 97%, 58%)
CMYKcmyk(83%, 0%, 23%, 1%)
LABlab(88.9 -61.1 14.3)
LCHlch(88.9 62.8 166.8)
OKLCHoklch(0.883 0.173 167.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afcc2 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#2afcc2 on black: 15.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green98.8%
Blue76.1%

CMYK percentages

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

Color previews

#2afcc2 text on a black background

contrast 15.80:1

Card sample

#2afcc2 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afcc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afcc2 in the Color Lab