#21978B#21978B

#21978B is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.2% C 0.100 H 184.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#21978B
RGBrgb(33, 151, 139)
HSLhsl(174, 64%, 36%)
HSVhsv(174, 78%, 59%)
CMYKcmyk(78.1%, 0%, 7.9%, 40.8%)
CIE-LABlab(56.41, -34.01, -2.73)
CIE-LCHlch(56.41, 34.12, 184.59°)
OKLaboklab(61.18% -0.1002 -0.0079)
OKLCHoklch(61.18% 0.1 184.5)
XYZxyz(16.3517, 24.3186, 28.2532)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21978B #97212D
analogous
#219750 #21978B #216897
triadic
#21978B #8B2197 #978B21
tetradic
#21978B #502197 #97212D #689721
square
#21978B #502197 #97212D #689721
split-complementary
#21978B #972168 #975021
monochromatic
#0B332F #16655D #21978B #2CC9B9 #58DACD

Accessibility & contrast

On white

3.58
#21978B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#21978B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21978B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21978B#FFFFFF#000000##000000
##21978B1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8E8B
Deuteranopia (green-blind)
#7F828C
Tritanopia (blue-blind)
#009A93
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #21978b;
/* rgb */ color: rgb(33, 151, 139);
/* oklch */ color: oklch(61.2% 0.100 184.5);
Tailwind
colors: {
  custom: {
    50: '#72b6ac',
    500: '#21978b',
    950: '#000000',
  },
}
SCSS
$custom: #21978b;
$custom-light: #72b6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#21978b",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 139
  },
  "hsl": {
    "h": 173.898,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.10047,
    "h": 184.5
  },
  "luminance": 0.24321
}

Semantic roles & 50–950 ramp

primary
#21978B
secondary
#BE5560
accent
#4152E7
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #21978B

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

Preview Lab → · Contrast checker → · Palette generator →

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