#20786B#20786B

#20786B is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.9% C 0.083 H 180.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#20786B
RGBrgb(32, 120, 107)
HSLhsl(171, 58%, 30%)
HSVhsv(171, 73%, 47%)
CMYKcmyk(73.3%, 0%, 10.8%, 52.9%)
CIE-LABlab(45.36, -28.72, -0.27)
CIE-LCHlch(45.36, 28.72, 180.54°)
OKLaboklab(51.85% -0.0833 -0.0012)
OKLCHoklch(51.85% 0.083 180.8)
XYZxyz(9.9647, 14.8004, 16.2387)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20786B #78202D
analogous
#20783F #20786B #205978
triadic
#20786B #6B2078 #786B20
tetradic
#20786B #3F2078 #78202D #597820
square
#20786B #3F2078 #78202D #597820
split-complementary
#20786B #782059 #783F20
monochromatic
#061816 #134840 #20786B #2DA896 #45CDB9

Accessibility & contrast

On white

5.30
#20786B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#20786B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20786B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20786B#FFFFFF#000000##FFFFFF
##20786B1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716B
Deuteranopia (green-blind)
#66686C
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #20786b;
/* rgb */ color: rgb(32, 120, 107);
/* oklch */ color: oklch(51.9% 0.083 180.8);
Tailwind
colors: {
  custom: {
    50: '#6a9f95',
    500: '#20786b',
    950: '#000000',
  },
}
SCSS
$custom: #20786b;
$custom-light: #6a9f95;
$custom-dark: #000000;
JSON
{
  "hex": "#20786b",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 107
  },
  "hsl": {
    "h": 171.136,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.08335,
    "h": 180.8
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#20786B
secondary
#AB4857
accent
#475DE1
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #20786B

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

Preview Lab → · Contrast checker → · Palette generator →

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