Skip to content

#2f8f8f

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

RGB
47, 143, 143
HSL
180°, 51%, 37%
CMYK
67, 0, 0, 44
Luminance
0.2223

Every format

HEX#2f8f8f
RGBrgb(47, 143, 143)
HSLhsl(180, 51%, 37%)
CMYKcmyk(67%, 0%, 0%, 44%)
LABlab(54.3 -27.1 -8.2)
LCHlch(54.3 28.3 196.8)
OKLCHoklch(0.596 0.087 195.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f8f8f on white: 3.86:1
AA ✗ fail · AA-large · AAA
Aa
#2f8f8f on black: 5.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green56.1%
Blue56.1%

CMYK percentages

Cyan67.1%
Magenta0.0%
Yellow0.0%
Key (black)43.9%

Color previews

#2f8f8f text on a black background

contrast 5.45:1

Card sample

#2f8f8f text on a white background

contrast 3.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f8f8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f8f8f in the Color Lab