#21978C#21978C

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

Color values

HEX#21978C
RGBrgb(33, 151, 140)
HSLhsl(174, 64%, 36%)
HSVhsv(174, 78%, 59%)
CMYKcmyk(78.1%, 0%, 7.3%, 40.8%)
CIE-LABlab(56.43, -33.72, -3.26)
CIE-LCHlch(56.43, 33.87, 185.52°)
OKLaboklab(61.21% -0.0997 -0.0093)
OKLCHoklch(61.21% 0.1 185.4)
XYZxyz(16.4251, 24.3480, 28.6398)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21978C #97212C
analogous
#219751 #21978C #216797
triadic
#21978C #8C2197 #978C21
tetradic
#21978C #512197 #97212C #679721
square
#21978C #512197 #97212C #679721
split-complementary
#21978C #972167 #975121
monochromatic
#0B332F #16655D #21978C #2CC9BB #58DACE

Accessibility & contrast

On white

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

On black

5.87
#21978C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21978C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21978C#FFFFFF#000000##000000
##21978C1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8E8C
Deuteranopia (green-blind)
#7F828D
Tritanopia (blue-blind)
#009B93
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #21978c;
/* rgb */ color: rgb(33, 151, 140);
/* oklch */ color: oklch(61.2% 0.100 185.4);
Tailwind
colors: {
  custom: {
    50: '#72b6ad',
    500: '#21978c',
    950: '#000000',
  },
}
SCSS
$custom: #21978c;
$custom-light: #72b6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21978c",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 140
  },
  "hsl": {
    "h": 174.407,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.10012,
    "h": 185.4
  },
  "luminance": 0.2435
}

Semantic roles & 50–950 ramp

primary
#21978C
secondary
#BE555F
accent
#4150E7
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #21978C

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

Preview Lab → · Contrast checker → · Palette generator →

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