Skip to content

#2faba2

a dark, vivid cyan · cool · closest name: teal

RGB
47, 171, 162
HSL
176°, 57%, 43%
CMYK
73, 0, 5, 33
Luminance
0.3234

Every format

HEX#2faba2
RGBrgb(47, 171, 162)
HSLhsl(176, 57%, 43%)
CMYKcmyk(73%, 0%, 5%, 33%)
LABlab(63.6 -35.0 -5.1)
LCHlch(63.6 35.4 188.2)
OKLCHoklch(0.673 0.106 187.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2faba2 on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#2faba2 on black: 7.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green67.1%
Blue63.5%

CMYK percentages

Cyan72.5%
Magenta0.0%
Yellow5.3%
Key (black)32.9%

Color previews

#2faba2 text on a black background

contrast 7.47:1

Card sample

#2faba2 text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 171, 162, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 171, 162, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2faba2;
background: linear-gradient(135deg, #2faba2, #2F61AB);

Monochromatic scale

Palettes built from #2faba2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2faba2 in the Color Lab