#21987A#21987A

#21987A is a mid, moderate teal. Relative luminance 0.242; OKLCH L 60.9% C 0.111 H 171.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#21987A
RGBrgb(33, 152, 122)
HSLhsl(165, 64%, 36%)
HSVhsv(165, 78%, 60%)
CMYKcmyk(78.3%, 0%, 19.7%, 40.4%)
CIE-LABlab(56.27, -39.13, 6.77)
CIE-LCHlch(56.27, 39.71, 170.18°)
OKLaboklab(60.91% -0.1095 0.0173)
OKLCHoklch(60.91% 0.111 171)
XYZxyz(15.3664, 24.1831, 22.2665)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21987A #98213F
analogous
#21983F #21987A #217B98
triadic
#21987A #7A2198 #987A21
tetradic
#21987A #3F2198 #98213F #7B9821
square
#21987A #3F2198 #98213F #7B9821
split-complementary
#21987A #98217B #983F21
monochromatic
#0B3329 #166652 #21987A #2CCAA2 #59DBBA

Accessibility & contrast

On white

3.60
#21987A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#21987A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21987A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21987A#FFFFFF#000000##000000
##21987A1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938D79
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #21987a;
/* rgb */ color: rgb(33, 152, 122);
/* oklch */ color: oklch(60.9% 0.111 171.0);
Tailwind
colors: {
  custom: {
    50: '#71b7a0',
    500: '#21987a',
    950: '#000000',
  },
}
SCSS
$custom: #21987a;
$custom-light: #71b7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#21987a",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 164.874,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60914,
    "c": 0.11081,
    "h": 171
  },
  "luminance": 0.24185
}

Semantic roles & 50–950 ramp

primary
#21987A
secondary
#BF5670
accent
#406BE7
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #21987A

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

Preview Lab → · Contrast checker → · Palette generator →

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