#20796D#20796D

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

Color values

HEX#20796D
RGBrgb(32, 121, 109)
HSLhsl(172, 58%, 30%)
HSVhsv(172, 74%, 47%)
CMYKcmyk(73.6%, 0%, 9.9%, 52.5%)
CIE-LABlab(45.75, -28.62, -0.89)
CIE-LCHlch(45.75, 28.63, 181.78°)
OKLaboklab(52.19% -0.0834 -0.0029)
OKLCHoklch(52.19% 0.083 182)
XYZxyz(10.1920, 15.0848, 16.8395)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20796D #79202C
analogous
#207940 #20796D #205979
triadic
#20796D #6D2079 #796D20
tetradic
#20796D #402079 #79202C #597920
square
#20796D #402079 #79202C #597920
split-complementary
#20796D #792059 #794020
monochromatic
#061816 #134941 #20796D #2DA999 #45CEBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20796D#FFFFFF#000000##FFFFFF
##20796D1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20796d;
/* rgb */ color: rgb(32, 121, 109);
/* oklch */ color: oklch(52.2% 0.083 182.0);
Tailwind
colors: {
  custom: {
    50: '#6aa096',
    500: '#20796d',
    950: '#000000',
  },
}
SCSS
$custom: #20796d;
$custom-light: #6aa096;
$custom-dark: #000000;
JSON
{
  "hex": "#20796d",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 109
  },
  "hsl": {
    "h": 171.91,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.08349,
    "h": 182
  },
  "luminance": 0.15086
}

Semantic roles & 50–950 ramp

primary
#20796D
secondary
#AC4956
accent
#465BE1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #20796D

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

Preview Lab → · Contrast checker → · Palette generator →

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