#21978F#21978F

#21978F is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.3% C 0.099 H 187.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#21978F
RGBrgb(33, 151, 143)
HSLhsl(176, 64%, 36%)
HSVhsv(176, 78%, 59%)
CMYKcmyk(78.1%, 0%, 5.3%, 40.8%)
CIE-LABlab(56.52, -32.84, -4.84)
CIE-LCHlch(56.52, 33.19, 188.39°)
OKLaboklab(61.31% -0.0983 -0.0136)
OKLCHoklch(61.31% 0.099 187.9)
XYZxyz(16.6494, 24.4377, 29.8207)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21978F #972129
analogous
#219754 #21978F #216497
triadic
#21978F #8F2197 #978F21
tetradic
#21978F #542197 #972129 #649721
square
#21978F #542197 #972129 #649721
split-complementary
#21978F #972164 #975421
monochromatic
#0B3330 #16655F #21978F #2CC9BF #58DAD2

Accessibility & contrast

On white

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

On black

5.89
#21978F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21978F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21978F#FFFFFF#000000##000000
##21978F1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8E8F
Deuteranopia (green-blind)
#7E8390
Tritanopia (blue-blind)
#009B94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #21978f;
/* rgb */ color: rgb(33, 151, 143);
/* oklch */ color: oklch(61.3% 0.099 187.9);
Tailwind
colors: {
  custom: {
    50: '#72b6af',
    500: '#21978f',
    950: '#000000',
  },
}
SCSS
$custom: #21978f;
$custom-light: #72b6af;
$custom-dark: #000000;
JSON
{
  "hex": "#21978f",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 143
  },
  "hsl": {
    "h": 175.932,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.0992,
    "h": 187.9
  },
  "luminance": 0.2444
}

Semantic roles & 50–950 ramp

primary
#21978F
secondary
#BE555C
accent
#414CE7
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #21978F

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

Preview Lab → · Contrast checker → · Palette generator →

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