Skip to content

#2afee2

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

RGB
42, 254, 226
HSL
172°, 99%, 58%
CMYK
84, 0, 11, 0
Luminance
0.7687

Every format

HEX#2afee2
RGBrgb(42, 254, 226)
HSLhsl(172, 99%, 58%)
CMYKcmyk(84%, 0%, 11%, 0%)
LABlab(90.3 -54.1 -0.3)
LCHlch(90.3 54.1 180.3)
OKLCHoklch(0.896 0.156 180.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afee2 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#2afee2 on black: 16.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green99.6%
Blue88.6%

CMYK percentages

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

Color previews

#2afee2 text on a black background

contrast 16.37:1

Card sample

#2afee2 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afee2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afee2 in the Color Lab