#20796E#20796E

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

Color values

HEX#20796E
RGBrgb(32, 121, 110)
HSLhsl(173, 58%, 30%)
HSVhsv(173, 74%, 47%)
CMYKcmyk(73.6%, 0%, 9.1%, 52.5%)
CIE-LABlab(45.78, -28.33, -1.44)
CIE-LCHlch(45.78, 28.36, 182.91°)
OKLaboklab(52.23% -0.0829 -0.0043)
OKLCHoklch(52.23% 0.083 183)
XYZxyz(10.2462, 15.1064, 17.1247)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20796E #79202B
analogous
#207941 #20796E #205879
triadic
#20796E #6E2079 #796E20
tetradic
#20796E #412079 #79202B #587920
square
#20796E #412079 #79202B #587920
split-complementary
#20796E #792058 #794120
monochromatic
#061816 #134942 #20796E #2DA99A #45CEBD

Accessibility & contrast

On white

5.22
#20796E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#20796E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20796E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20796E#FFFFFF#000000##FFFFFF
##20796E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726E
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #20796e;
/* rgb */ color: rgb(32, 121, 110);
/* oklch */ color: oklch(52.2% 0.083 183.0);
Tailwind
colors: {
  custom: {
    50: '#6aa097',
    500: '#20796e',
    950: '#000000',
  },
}
SCSS
$custom: #20796e;
$custom-light: #6aa097;
$custom-dark: #000000;
JSON
{
  "hex": "#20796e",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 110
  },
  "hsl": {
    "h": 172.584,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.52225,
    "c": 0.08306,
    "h": 183
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#20796E
secondary
#AC4955
accent
#465AE1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #20796E

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

Preview Lab → · Contrast checker → · Palette generator →

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