Skip to content

#2afac2

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

RGB
42, 250, 194
HSL
164°, 95%, 57%
CMYK
83, 0, 22, 2
Luminance
0.7276

Every format

HEX#2afac2
RGBrgb(42, 250, 194)
HSLhsl(164, 95%, 57%)
CMYKcmyk(83%, 0%, 22%, 2%)
LABlab(88.3 -60.4 13.5)
LCHlch(88.3 61.9 167.4)
OKLCHoklch(0.878 0.171 168.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afac2 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#2afac2 on black: 15.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green98.0%
Blue76.1%

CMYK percentages

Cyan83.2%
Magenta0.0%
Yellow22.4%
Key (black)2.0%

Color previews

#2afac2 text on a black background

contrast 15.55:1

Card sample

#2afac2 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afac2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afac2 in the Color Lab