#21978D#21978D

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

Color values

HEX#21978D
RGBrgb(33, 151, 141)
HSLhsl(175, 64%, 36%)
HSVhsv(175, 78%, 59%)
CMYKcmyk(78.1%, 0%, 6.6%, 40.8%)
CIE-LABlab(56.46, -33.43, -3.79)
CIE-LCHlch(56.46, 33.64, 186.46°)
OKLaboklab(61.24% -0.0992 -0.0108)
OKLCHoklch(61.24% 0.1 186.2)
XYZxyz(16.4992, 24.3776, 29.0299)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21978D #97212B
analogous
#219752 #21978D #216697
triadic
#21978D #8D2197 #978D21
tetradic
#21978D #522197 #97212B #669721
square
#21978D #522197 #97212B #669721
split-complementary
#21978D #972166 #975221
monochromatic
#0B332F #16655E #21978D #2CC9BC #58DACF

Accessibility & contrast

On white

3.57
#21978D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#21978D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21978D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21978D#FFFFFF#000000##000000
##21978D1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8E8D
Deuteranopia (green-blind)
#7F828E
Tritanopia (blue-blind)
#009B94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #21978d;
/* rgb */ color: rgb(33, 151, 141);
/* oklch */ color: oklch(61.2% 0.100 186.2);
Tailwind
colors: {
  custom: {
    50: '#72b6ae',
    500: '#21978d',
    950: '#000000',
  },
}
SCSS
$custom: #21978d;
$custom-light: #72b6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21978d",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 141
  },
  "hsl": {
    "h": 174.915,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61242,
    "c": 0.09979,
    "h": 186.2
  },
  "luminance": 0.2438
}

Semantic roles & 50–950 ramp

primary
#21978D
secondary
#BE555E
accent
#414FE7
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #21978D

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

Preview Lab → · Contrast checker → · Palette generator →

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