#21978A#21978A

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

Color values

HEX#21978A
RGBrgb(33, 151, 138)
HSLhsl(173, 64%, 36%)
HSVhsv(173, 78%, 59%)
CMYKcmyk(78.1%, 0%, 8.6%, 40.8%)
CIE-LABlab(56.38, -34.30, -2.20)
CIE-LCHlch(56.38, 34.37, 183.67°)
OKLaboklab(61.14% -0.1006 -0.0065)
OKLCHoklch(61.14% 0.101 183.7)
XYZxyz(16.2790, 24.2895, 27.8702)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21978A #97212E
analogous
#21974F #21978A #216997
triadic
#21978A #8A2197 #978A21
tetradic
#21978A #4F2197 #97212E #699721
square
#21978A #4F2197 #97212E #699721
split-complementary
#21978A #972169 #974F21
monochromatic
#0B332E #16655C #21978A #2CC9B8 #58DACC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21978A#FFFFFF#000000##000000
##21978A1.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)
#8F8E8A
Deuteranopia (green-blind)
#7F828B
Tritanopia (blue-blind)
#009A93
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #21978a;
/* rgb */ color: rgb(33, 151, 138);
/* oklch */ color: oklch(61.1% 0.101 183.7);
Tailwind
colors: {
  custom: {
    50: '#72b6ac',
    500: '#21978a',
    950: '#000000',
  },
}
SCSS
$custom: #21978a;
$custom-light: #72b6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#21978a",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 138
  },
  "hsl": {
    "h": 173.39,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61142,
    "c": 0.10084,
    "h": 183.7
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

primary
#21978A
secondary
#BE5561
accent
#4153E7
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #21978A

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

Preview Lab → · Contrast checker → · Palette generator →

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