#21997E#21997E

#21997E is a mid, moderate teal. Relative luminance 0.246; OKLCH L 61.3% C 0.109 H 173.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#21997E
RGBrgb(33, 153, 126)
HSLhsl(167, 65%, 36%)
HSVhsv(167, 78%, 60%)
CMYKcmyk(78.4%, 0%, 17.6%, 40%)
CIE-LABlab(56.69, -38.52, 5.11)
CIE-LCHlch(56.69, 38.85, 172.45°)
OKLaboklab(61.29% -0.1085 0.0129)
OKLCHoklch(61.29% 0.109 173.2)
XYZxyz(15.7823, 24.6102, 23.6531)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21997E #99213C
analogous
#219942 #21997E #217899
triadic
#21997E #7E2199 #997E21
tetradic
#21997E #422199 #99213C #789921
square
#21997E #422199 #99213C #789921
split-complementary
#21997E #992178 #994221
monochromatic
#0B342B #166755 #21997E #2CCBA7 #59DBBE

Accessibility & contrast

On white

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

On black

5.92
#21997E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21997E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21997E#FFFFFF#000000##000000
##21997E1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7D
Deuteranopia (green-blind)
#848380
Tritanopia (blue-blind)
#009B91
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #21997e;
/* rgb */ color: rgb(33, 153, 126);
/* oklch */ color: oklch(61.3% 0.109 173.2);
Tailwind
colors: {
  custom: {
    50: '#71b8a3',
    500: '#21997e',
    950: '#000000',
  },
}
SCSS
$custom: #21997e;
$custom-light: #71b8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21997e",
  "rgb": {
    "r": 33,
    "g": 153,
    "b": 126
  },
  "hsl": {
    "h": 166.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61294,
    "c": 0.10928,
    "h": 173.2
  },
  "luminance": 0.24612
}

Semantic roles & 50–950 ramp

primary
#21997E
secondary
#BF566E
accent
#4066E8
background
#F7FBFA
surface
#EDF6F3
border
#C8D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #21997E

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

Preview Lab → · Contrast checker → · Palette generator →

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