#20786D#20786D

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

Color values

HEX#20786D
RGBrgb(32, 120, 109)
HSLhsl(173, 58%, 30%)
HSVhsv(173, 73%, 47%)
CMYKcmyk(73.3%, 0%, 9.2%, 52.9%)
CIE-LABlab(45.42, -28.13, -1.37)
CIE-LCHlch(45.42, 28.17, 182.80°)
OKLaboklab(51.92% -0.0824 -0.0042)
OKLCHoklch(51.92% 0.082 182.9)
XYZxyz(10.0711, 14.8430, 16.7992)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20786D #78202B
analogous
#207841 #20786D #205778
triadic
#20786D #6D2078 #786D20
tetradic
#20786D #412078 #78202B #577820
square
#20786D #412078 #78202B #577820
split-complementary
#20786D #782057 #784120
monochromatic
#061816 #134841 #20786D #2DA899 #45CDBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #20786d;
/* rgb */ color: rgb(32, 120, 109);
/* oklch */ color: oklch(51.9% 0.082 182.9);
Tailwind
colors: {
  custom: {
    50: '#6a9f96',
    500: '#20786d',
    950: '#000000',
  },
}
SCSS
$custom: #20786d;
$custom-light: #6a9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#20786d",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 172.5,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5192,
    "c": 0.08246,
    "h": 182.9
  },
  "luminance": 0.14844
}

Semantic roles & 50–950 ramp

primary
#20786D
secondary
#AB4855
accent
#475AE1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #20786D

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

Preview Lab → · Contrast checker → · Palette generator →

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