#21997B#21997B

#21997B is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.2% C 0.111 H 171.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#21997B
RGBrgb(33, 153, 123)
HSLhsl(165, 65%, 36%)
HSVhsv(165, 78%, 60%)
CMYKcmyk(78.4%, 0%, 19.6%, 40%)
CIE-LABlab(56.62, -39.30, 6.70)
CIE-LCHlch(56.62, 39.87, 170.32°)
OKLaboklab(61.21% -0.11 0.0171)
OKLCHoklch(61.21% 0.111 171.2)
XYZxyz(15.5917, 24.5340, 22.6488)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21997B #99213F
analogous
#21993F #21997B #217B99
triadic
#21997B #7B2199 #997B21
tetradic
#21997B #3F2199 #99213F #7B9921
square
#21997B #3F2199 #99213F #7B9921
split-complementary
#21997B #99217B #993F21
monochromatic
#0B342A #166753 #21997B #2CCBA3 #59DBBB

Accessibility & contrast

On white

3.55
#21997B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#21997B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21997B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21997B#FFFFFF#000000##000000
##21997B1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E7A
Deuteranopia (green-blind)
#85837D
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #21997b;
/* rgb */ color: rgb(33, 153, 123);
/* oklch */ color: oklch(61.2% 0.111 171.2);
Tailwind
colors: {
  custom: {
    50: '#71b8a1',
    500: '#21997b',
    950: '#000000',
  },
}
SCSS
$custom: #21997b;
$custom-light: #71b8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21997b",
  "rgb": {
    "r": 33,
    "g": 153,
    "b": 123
  },
  "hsl": {
    "h": 165,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61207,
    "c": 0.11131,
    "h": 171.2
  },
  "luminance": 0.24536
}

Semantic roles & 50–950 ramp

primary
#21997B
secondary
#BF5671
accent
#406AE8
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #21997B

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

Preview Lab → · Contrast checker → · Palette generator →

#21997B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva