#20987B#20987B

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

Color values

HEX#20987B
RGBrgb(32, 152, 123)
HSLhsl(166, 65%, 36%)
HSVhsv(166, 79%, 60%)
CMYKcmyk(78.9%, 0%, 19.1%, 40.4%)
CIE-LABlab(56.28, -38.98, 6.21)
CIE-LCHlch(56.28, 39.48, 170.94°)
OKLaboklab(60.92% -0.1093 0.0158)
OKLCHoklch(60.92% 0.11 171.8)
XYZxyz(15.3971, 24.1917, 22.5930)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20987B #98203D
analogous
#20983F #20987B #207998
triadic
#20987B #7B2098 #987B20
tetradic
#20987B #3F2098 #98203D #799820
square
#20987B #3F2098 #98203D #799820
split-complementary
#20987B #982079 #983F20
monochromatic
#0B3329 #156552 #20987B #2BCBA4 #57DCBC

Accessibility & contrast

On white

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

On black

5.84
#20987B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20987B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20987B#FFFFFF#000000##000000
##20987B1.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)
#938D7A
Deuteranopia (green-blind)
#84827D
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #20987b;
/* rgb */ color: rgb(32, 152, 123);
/* oklch */ color: oklch(60.9% 0.110 171.8);
Tailwind
colors: {
  custom: {
    50: '#71b7a1',
    500: '#20987b',
    950: '#000000',
  },
}
SCSS
$custom: #20987b;
$custom-light: #71b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#20987b",
  "rgb": {
    "r": 32,
    "g": 152,
    "b": 123
  },
  "hsl": {
    "h": 165.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.11043,
    "h": 171.8
  },
  "luminance": 0.24194
}

Semantic roles & 50–950 ramp

primary
#20987B
secondary
#BF546E
accent
#4068E8
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #20987B

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

Preview Lab → · Contrast checker → · Palette generator →

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