#21AF97#21AF97

#21AF97 is a light, moderate teal. Relative luminance 0.332; OKLCH L 67.8% C 0.119 H 177.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#21AF97
RGBrgb(33, 175, 151)
HSLhsl(170, 68%, 41%)
HSVhsv(170, 81%, 69%)
CMYKcmyk(81.1%, 0%, 13.7%, 31.4%)
CIE-LABlab(64.33, -41.43, 2.10)
CIE-LCHlch(64.33, 41.48, 177.10°)
OKLaboklab(67.76% -0.1185 0.0049)
OKLCHoklch(67.76% 0.119 177.6)
XYZxyz(21.5402, 33.2149, 34.5480)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AF97 #AF2139
analogous
#21AF50 #21AF97 #2180AF
triadic
#21AF97 #9721AF #AF9721
tetradic
#21AF97 #5021AF #AF2139 #80AF21
square
#21AF97 #5021AF #AF2139 #80AF21
split-complementary
#21AF97 #AF2180 #AF5021
monochromatic
#0E483E #177C6B #21AF97 #34D9BD #68E3CE

Accessibility & contrast

On white

2.75
#21AF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#21AF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AF97
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AF97#FFFFFF#000000##000000
##21AF971.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A496
Deuteranopia (green-blind)
#969799
Tritanopia (blue-blind)
#00B2A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #21af97;
/* rgb */ color: rgb(33, 175, 151);
/* oklch */ color: oklch(67.8% 0.119 177.6);
Tailwind
colors: {
  custom: {
    50: '#77c7b5',
    500: '#21af97',
    950: '#000000',
  },
}
SCSS
$custom: #21af97;
$custom-light: #77c7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#21af97",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 151
  },
  "hsl": {
    "h": 169.859,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67764,
    "c": 0.1186,
    "h": 177.6
  },
  "luminance": 0.33218
}

Semantic roles & 50–950 ramp

primary
#21AF97
secondary
#C86475
accent
#3D5AEB
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0A1311
muted
#7C8280

Preview Lab

Preview with #21AF97

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

Preview Lab → · Contrast checker → · Palette generator →

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