Skip to content

#2afab3

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

RGB
42, 250, 179
HSL
160°, 95%, 57%
CMYK
83, 0, 28, 2
Luminance
0.7212

Every format

HEX#2afab3
RGBrgb(42, 250, 179)
HSLhsl(160, 95%, 57%)
CMYKcmyk(83%, 0%, 28%, 2%)
LABlab(88.0 -63.7 20.8)
LCHlch(88.0 67.0 161.9)
OKLCHoklch(0.875 0.182 163.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afab3 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#2afab3 on black: 15.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green98.0%
Blue70.2%

CMYK percentages

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

Color previews

#2afab3 text on a black background

contrast 15.42:1

Card sample

#2afab3 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afab3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afab3 in the Color Lab