#20786C#20786C

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

Color values

HEX#20786C
RGBrgb(32, 120, 108)
HSLhsl(172, 58%, 30%)
HSVhsv(172, 73%, 47%)
CMYKcmyk(73.3%, 0%, 10%, 52.9%)
CIE-LABlab(45.39, -28.43, -0.82)
CIE-LCHlch(45.39, 28.44, 181.66°)
OKLaboklab(51.89% -0.0828 -0.0027)
OKLCHoklch(51.89% 0.083 181.9)
XYZxyz(10.0176, 14.8216, 16.5173)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20786C #78202C
analogous
#207840 #20786C #205878
triadic
#20786C #6C2078 #786C20
tetradic
#20786C #402078 #78202C #587820
square
#20786C #402078 #78202C #587820
split-complementary
#20786C #782058 #784020
monochromatic
#061816 #134841 #20786C #2DA897 #45CDBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20786C#FFFFFF#000000##FFFFFF
##20786C1.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)
#72716C
Deuteranopia (green-blind)
#66686D
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #20786c;
/* rgb */ color: rgb(32, 120, 108);
/* oklch */ color: oklch(51.9% 0.083 181.9);
Tailwind
colors: {
  custom: {
    50: '#6a9f96',
    500: '#20786c',
    950: '#000000',
  },
}
SCSS
$custom: #20786c;
$custom-light: #6a9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#20786c",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 171.818,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.08289,
    "h": 181.9
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#20786C
secondary
#AB4856
accent
#475CE1
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #20786C

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

Preview Lab → · Contrast checker → · Palette generator →

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