#20786A#20786A

#20786A is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.084 H 179.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#20786A
RGBrgb(32, 120, 106)
HSLhsl(170, 58%, 30%)
HSVhsv(170, 73%, 47%)
CMYKcmyk(73.3%, 0%, 11.7%, 52.9%)
CIE-LABlab(45.33, -29.00, 0.28)
CIE-LCHlch(45.33, 29.01, 179.44°)
OKLaboklab(51.82% -0.0838 0.0003)
OKLCHoklch(51.82% 0.084 179.8)
XYZxyz(9.9124, 14.7795, 15.9632)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20786A #78202E
analogous
#20783E #20786A #205A78
triadic
#20786A #6A2078 #786A20
tetradic
#20786A #3E2078 #78202E #5A7820
square
#20786A #3E2078 #78202E #5A7820
split-complementary
#20786A #78205A #783E20
monochromatic
#061815 #13483F #20786A #2DA895 #45CDB8

Accessibility & contrast

On white

5.31
#20786A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20786A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20786A#FFFFFF#000000##FFFFFF
##20786A1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20786a;
/* rgb */ color: rgb(32, 120, 106);
/* oklch */ color: oklch(51.8% 0.084 179.8);
Tailwind
colors: {
  custom: {
    50: '#6a9f94',
    500: '#20786a',
    950: '#000000',
  },
}
SCSS
$custom: #20786a;
$custom-light: #6a9f94;
$custom-dark: #000000;
JSON
{
  "hex": "#20786a",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 170.455,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5182,
    "c": 0.08385,
    "h": 179.8
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#20786A
secondary
#AB4858
accent
#475FE1
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #20786A

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

Preview Lab → · Contrast checker → · Palette generator →

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