Skip to content

#2afcaf

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

RGB
42, 252, 175
HSL
158°, 97%, 58%
CMYK
83, 0, 31, 1
Luminance
0.7321

Every format

HEX#2afcaf
RGBrgb(42, 252, 175)
HSLhsl(158, 97%, 58%)
CMYKcmyk(83%, 0%, 31%, 1%)
LABlab(88.5 -65.3 23.5)
LCHlch(88.5 69.4 160.2)
OKLCHoklch(0.879 0.187 161.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afcaf on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#2afcaf on black: 15.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green98.8%
Blue68.6%

CMYK percentages

Cyan83.3%
Magenta0.0%
Yellow30.6%
Key (black)1.2%

Color previews

#2afcaf text on a black background

contrast 15.64:1

Card sample

#2afcaf text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afcaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afcaf in the Color Lab