#21AFA5#21AFA5

#21AFA5 is a light, moderate teal. Relative luminance 0.337; OKLCH L 68.2% C 0.113 H 187.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#21AFA5
RGBrgb(33, 175, 165)
HSLhsl(176, 68%, 41%)
HSVhsv(176, 81%, 69%)
CMYKcmyk(81.1%, 0%, 5.7%, 31.4%)
CIE-LABlab(64.72, -37.51, -5.13)
CIE-LCHlch(64.72, 37.86, 187.78°)
OKLaboklab(68.21% -0.1119 -0.0145)
OKLCHoklch(68.21% 0.113 187.4)
XYZxyz(22.7454, 33.6970, 40.8954)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AFA5 #AF212B
analogous
#21AF5E #21AFA5 #2172AF
triadic
#21AFA5 #A521AF #AFA521
tetradic
#21AFA5 #5E21AF #AF212B #72AF21
square
#21AFA5 #5E21AF #AF212B #72AF21
split-complementary
#21AFA5 #AF2172 #AF5E21
monochromatic
#0E4844 #177C74 #21AFA5 #34D9CD #68E3DA

Accessibility & contrast

On white

2.71
#21AFA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#21AFA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AFA5
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AFA5#FFFFFF#000000##000000
##21AFA51.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A5A5
Deuteranopia (green-blind)
#9297A6
Tritanopia (blue-blind)
#00B3AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #21afa5;
/* rgb */ color: rgb(33, 175, 165);
/* oklch */ color: oklch(68.2% 0.113 187.4);
Tailwind
colors: {
  custom: {
    50: '#78c7bf',
    500: '#21afa5',
    950: '#000000',
  },
}
SCSS
$custom: #21afa5;
$custom-light: #78c7bf;
$custom-dark: #000000;
JSON
{
  "hex": "#21afa5",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 165
  },
  "hsl": {
    "h": 175.775,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68208,
    "c": 0.11287,
    "h": 187.4
  },
  "luminance": 0.337
}

Semantic roles & 50–950 ramp

primary
#21AFA5
secondary
#C8646B
accent
#3D49EB
background
#F8FCFB
surface
#EFF8F7
border
#CAD1D0
text
#0B1312
muted
#7C8281

Preview Lab

Preview with #21AFA5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#21AFA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva