#21AFA7#21AFA7

#21AFA7 is a light, moderate teal. Relative luminance 0.338; OKLCH L 68.3% C 0.112 H 188.9°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#21AFA7
RGBrgb(33, 175, 167)
HSLhsl(177, 68%, 41%)
HSVhsv(177, 81%, 69%)
CMYKcmyk(81.1%, 0%, 4.6%, 31.4%)
CIE-LABlab(64.78, -36.93, -6.15)
CIE-LCHlch(64.78, 37.44, 189.46°)
OKLaboklab(68.27% -0.111 -0.0173)
OKLCHoklch(68.27% 0.112 188.9)
XYZxyz(22.9289, 33.7704, 41.8616)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AFA7 #AF2129
analogous
#21AF60 #21AFA7 #2170AF
triadic
#21AFA7 #A721AF #AFA721
tetradic
#21AFA7 #6021AF #AF2129 #70AF21
square
#21AFA7 #6021AF #AF2129 #70AF21
split-complementary
#21AFA7 #AF2170 #AF6021
monochromatic
#0E4845 #177C76 #21AFA7 #34D9D0 #68E3DC

Accessibility & contrast

On white

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

On black

7.75
#21AFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AFA7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AFA7#FFFFFF#000000##000000
##21AFA71.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A5A7
Deuteranopia (green-blind)
#9297A8
Tritanopia (blue-blind)
#00B4AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #21afa7;
/* rgb */ color: rgb(33, 175, 167);
/* oklch */ color: oklch(68.3% 0.112 188.9);
Tailwind
colors: {
  custom: {
    50: '#78c7c1',
    500: '#21afa7',
    950: '#000000',
  },
}
SCSS
$custom: #21afa7;
$custom-light: #78c7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#21afa7",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 167
  },
  "hsl": {
    "h": 176.62,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68275,
    "c": 0.11235,
    "h": 188.9
  },
  "luminance": 0.33773
}

Semantic roles & 50–950 ramp

primary
#21AFA7
secondary
#C86469
accent
#3D47EB
background
#F8FCFB
surface
#EFF8F7
border
#CAD1D0
text
#0B1312
muted
#7C8281

Preview Lab

Preview with #21AFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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