#20786E#20786E

#20786E is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.082 H 183.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#20786E
RGBrgb(32, 120, 110)
HSLhsl(173, 58%, 30%)
HSVhsv(173, 73%, 47%)
CMYKcmyk(73.3%, 0%, 8.3%, 52.9%)
CIE-LABlab(45.45, -27.84, -1.93)
CIE-LCHlch(45.45, 27.91, 183.96°)
OKLaboklab(51.96% -0.0819 -0.0056)
OKLCHoklch(51.96% 0.082 183.9)
XYZxyz(10.1253, 14.8646, 17.0844)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20786E #78202A
analogous
#207842 #20786E #205678
triadic
#20786E #6E2078 #786E20
tetradic
#20786E #422078 #78202A #567820
square
#20786E #422078 #78202A #567820
split-complementary
#20786E #782056 #784220
monochromatic
#061816 #134842 #20786E #2DA89A #45CDBE

Accessibility & contrast

On white

5.29
#20786E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#20786E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20786E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20786E#FFFFFF#000000##FFFFFF
##20786E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716E
Deuteranopia (green-blind)
#65686F
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #20786e;
/* rgb */ color: rgb(32, 120, 110);
/* oklch */ color: oklch(52.0% 0.082 183.9);
Tailwind
colors: {
  custom: {
    50: '#6a9f97',
    500: '#20786e',
    950: '#000000',
  },
}
SCSS
$custom: #20786e;
$custom-light: #6a9f97;
$custom-dark: #000000;
JSON
{
  "hex": "#20786e",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 173.182,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.08204,
    "h": 183.9
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#20786E
secondary
#AB4854
accent
#4758E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #20786E

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

Preview Lab → · Contrast checker → · Palette generator →

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