#20796C#20796C

#20796C is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.084 H 180.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#20796C
RGBrgb(32, 121, 108)
HSLhsl(171, 58%, 30%)
HSVhsv(171, 74%, 47%)
CMYKcmyk(73.6%, 0%, 10.7%, 52.5%)
CIE-LABlab(45.72, -28.91, -0.34)
CIE-LCHlch(45.72, 28.91, 180.67°)
OKLaboklab(52.16% -0.0839 -0.0014)
OKLCHoklch(52.16% 0.084 180.9)
XYZxyz(10.1385, 15.0633, 16.5576)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20796C #79202D
analogous
#207940 #20796C #205979
triadic
#20796C #6C2079 #796C20
tetradic
#20796C #402079 #79202D #597920
square
#20796C #402079 #79202D #597920
split-complementary
#20796C #792059 #794020
monochromatic
#061816 #134941 #20796C #2DA997 #45CEBA

Accessibility & contrast

On white

5.23
#20796C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#20796C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20796C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20796C#FFFFFF#000000##FFFFFF
##20796C1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726C
Deuteranopia (green-blind)
#67686D
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #20796c;
/* rgb */ color: rgb(32, 121, 108);
/* oklch */ color: oklch(52.2% 0.084 180.9);
Tailwind
colors: {
  custom: {
    50: '#6aa096',
    500: '#20796c',
    950: '#000000',
  },
}
SCSS
$custom: #20796c;
$custom-light: #6aa096;
$custom-dark: #000000;
JSON
{
  "hex": "#20796c",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 171.236,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.08395,
    "h": 180.9
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#20796C
secondary
#AC4957
accent
#465DE1
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #20796C

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

Preview Lab → · Contrast checker → · Palette generator →

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