#20987C#20987C

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

Color values

HEX#20987C
RGBrgb(32, 152, 124)
HSLhsl(166, 65%, 36%)
HSVhsv(166, 79%, 60%)
CMYKcmyk(78.9%, 0%, 18.4%, 40.4%)
CIE-LABlab(56.30, -38.72, 5.68)
CIE-LCHlch(56.30, 39.13, 171.65°)
OKLaboklab(60.95% -0.1088 0.0144)
OKLCHoklch(60.95% 0.11 172.5)
XYZxyz(15.4601, 24.2169, 22.9244)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20987C #98203C
analogous
#209840 #20987C #207898
triadic
#20987C #7C2098 #987C20
tetradic
#20987C #402098 #98203C #789820
square
#20987C #402098 #98203C #789820
split-complementary
#20987C #982078 #984020
monochromatic
#0B332A #156553 #20987C #2BCBA5 #57DCBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20987C#FFFFFF#000000##000000
##20987C1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20987c;
/* rgb */ color: rgb(32, 152, 124);
/* oklch */ color: oklch(61.0% 0.110 172.5);
Tailwind
colors: {
  custom: {
    50: '#71b7a1',
    500: '#20987c',
    950: '#000000',
  },
}
SCSS
$custom: #20987c;
$custom-light: #71b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#20987c",
  "rgb": {
    "r": 32,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 166,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60953,
    "c": 0.10975,
    "h": 172.5
  },
  "luminance": 0.24219
}

Semantic roles & 50–950 ramp

primary
#20987C
secondary
#BF546D
accent
#4067E8
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #20987C

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

Preview Lab → · Contrast checker → · Palette generator →

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