#20987A#20987A

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

Color values

HEX#20987A
RGBrgb(32, 152, 122)
HSLhsl(165, 65%, 36%)
HSVhsv(165, 79%, 60%)
CMYKcmyk(78.9%, 0%, 19.7%, 40.4%)
CIE-LABlab(56.25, -39.24, 6.75)
CIE-LCHlch(56.25, 39.82, 170.24°)
OKLaboklab(60.9% -0.1098 0.0172)
OKLCHoklch(60.9% 0.111 171.1)
XYZxyz(15.3349, 24.1668, 22.2650)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20987A #98203E
analogous
#20983E #20987A #207A98
triadic
#20987A #7A2098 #987A20
tetradic
#20987A #3E2098 #98203E #7A9820
square
#20987A #3E2098 #98203E #7A9820
split-complementary
#20987A #98207A #983E20
monochromatic
#0B3329 #156551 #20987A #2BCBA3 #57DCBA

Accessibility & contrast

On white

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

On black

5.83
#20987A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20987A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20987A#FFFFFF#000000##000000
##20987A1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.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: #20987a;
/* rgb */ color: rgb(32, 152, 122);
/* oklch */ color: oklch(60.9% 0.111 171.1);
Tailwind
colors: {
  custom: {
    50: '#71b7a0',
    500: '#20987a',
    950: '#000000',
  },
}
SCSS
$custom: #20987a;
$custom-light: #71b7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#20987a",
  "rgb": {
    "r": 32,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 165,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.11113,
    "h": 171.1
  },
  "luminance": 0.24169
}

Semantic roles & 50–950 ramp

primary
#20987A
secondary
#BF546F
accent
#406AE8
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #20987A

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

Preview Lab → · Contrast checker → · Palette generator →

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