Skip to content

#21afba

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

RGB
33, 175, 186
HSL
184°, 70%, 43%
CMYK
82, 6, 0, 27
Luminance
0.3453

Every format

HEX#21afba
RGBrgb(33, 175, 186)
HSLhsl(184, 70%, 43%)
CMYKcmyk(82%, 6%, 0%, 27%)
LABlab(65.4 -31.2 -15.8)
LCHlch(65.4 35.0 206.9)
OKLCHoklch(0.690 0.112 203.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#21afba on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#21afba on black: 7.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.9%
Green68.6%
Blue72.9%

CMYK percentages

Cyan82.3%
Magenta5.9%
Yellow0.0%
Key (black)27.1%

Color previews

#21afba text on a black background

contrast 7.91:1

Card sample

#21afba text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #21afba;
Background color
Panel with #21afba background
background-color: #21afba;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(33, 175, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 175, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #21afba;
background: linear-gradient(135deg, #21afba, #2149BA);

Monochromatic scale

Palettes built from #21afba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #21afba in the Color Lab