#21987C#21987C

#21987C is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.0% C 0.109 H 172.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#21987C
RGBrgb(33, 152, 124)
HSLhsl(166, 64%, 36%)
HSVhsv(166, 78%, 60%)
CMYKcmyk(78.3%, 0%, 18.4%, 40.4%)
CIE-LABlab(56.32, -38.60, 5.71)
CIE-LCHlch(56.32, 39.02, 171.59°)
OKLaboklab(60.97% -0.1085 0.0145)
OKLCHoklch(60.97% 0.109 172.4)
XYZxyz(15.4916, 24.2331, 22.9259)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21987C #98213D
analogous
#219841 #21987C #217998
triadic
#21987C #7C2198 #987C21
tetradic
#21987C #412198 #98213D #799821
square
#21987C #412198 #98213D #799821
split-complementary
#21987C #982179 #984121
monochromatic
#0B332A #166653 #21987C #2CCAA5 #59DBBC

Accessibility & contrast

On white

3.59
#21987C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#21987C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21987C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21987C#FFFFFF#000000##000000
##21987C1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7B
Deuteranopia (green-blind)
#84827E
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #21987c;
/* rgb */ color: rgb(33, 152, 124);
/* oklch */ color: oklch(61.0% 0.109 172.4);
Tailwind
colors: {
  custom: {
    50: '#71b7a1',
    500: '#21987c',
    950: '#000000',
  },
}
SCSS
$custom: #21987c;
$custom-light: #71b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21987c",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 165.882,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.10943,
    "h": 172.4
  },
  "luminance": 0.24235
}

Semantic roles & 50–950 ramp

primary
#21987C
secondary
#BF566F
accent
#4068E7
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #21987C

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

Preview Lab → · Contrast checker → · Palette generator →

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