#21887A#21887A

#21887A is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.7% C 0.093 H 181.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#21887A
RGBrgb(33, 136, 122)
HSLhsl(172, 61%, 33%)
HSVhsv(172, 76%, 53%)
CMYKcmyk(75.7%, 0%, 10.3%, 46.7%)
CIE-LABlab(51.08, -31.89, -0.74)
CIE-LCHlch(51.08, 31.90, 181.33°)
OKLaboklab(56.67% -0.0928 -0.0025)
OKLCHoklch(56.67% 0.093 181.5)
XYZxyz(12.9425, 19.3352, 21.4585)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21887A #88212F
analogous
#218846 #21887A #216288
triadic
#21887A #7A2188 #887A21
tetradic
#21887A #462188 #88212F #628821
square
#21887A #462188 #88212F #628821
split-complementary
#21887A #882162 #884621
monochromatic
#092522 #15574E #21887A #2DB9A6 #4FD4C2

Accessibility & contrast

On white

4.31
#21887A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#21887A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21887A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21887A#FFFFFF#000000##000000
##21887A1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#828079
Deuteranopia (green-blind)
#74757B
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #21887a;
/* rgb */ color: rgb(33, 136, 122);
/* oklch */ color: oklch(56.7% 0.093 181.5);
Tailwind
colors: {
  custom: {
    50: '#6eaba0',
    500: '#21887a',
    950: '#000000',
  },
}
SCSS
$custom: #21887a;
$custom-light: #6eaba0;
$custom-dark: #000000;
JSON
{
  "hex": "#21887a",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 122
  },
  "hsl": {
    "h": 171.845,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56666,
    "c": 0.0928,
    "h": 181.5
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#21887A
secondary
#B84D5C
accent
#445AE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #21887A

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

Preview Lab → · Contrast checker → · Palette generator →

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