#20796B#20796B

#20796B is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.084 H 179.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#20796B
RGBrgb(32, 121, 107)
HSLhsl(171, 58%, 30%)
HSVhsv(171, 74%, 47%)
CMYKcmyk(73.6%, 0%, 11.6%, 52.5%)
CIE-LABlab(45.69, -29.20, 0.22)
CIE-LCHlch(45.69, 29.20, 179.58°)
OKLaboklab(52.12% -0.0844 0.0001)
OKLCHoklch(52.12% 0.084 179.9)
XYZxyz(10.0856, 15.0422, 16.2790)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20796B #79202E
analogous
#20793F #20796B #205A79
triadic
#20796B #6B2079 #796B20
tetradic
#20796B #3F2079 #79202E #5A7920
square
#20796B #3F2079 #79202E #5A7920
split-complementary
#20796B #79205A #793F20
monochromatic
#061815 #134940 #20796B #2DA996 #45CEB8

Accessibility & contrast

On white

5.24
#20796B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20796B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20796B#FFFFFF#000000##FFFFFF
##20796B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20796b;
/* rgb */ color: rgb(32, 121, 107);
/* oklch */ color: oklch(52.1% 0.084 179.9);
Tailwind
colors: {
  custom: {
    50: '#6aa095',
    500: '#20796b',
    950: '#000000',
  },
}
SCSS
$custom: #20796b;
$custom-light: #6aa095;
$custom-dark: #000000;
JSON
{
  "hex": "#20796b",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 170.562,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.52124,
    "c": 0.08444,
    "h": 179.9
  },
  "luminance": 0.15043
}

Semantic roles & 50–950 ramp

primary
#20796B
secondary
#AC4958
accent
#465FE1
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #20796B

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

Preview Lab → · Contrast checker → · Palette generator →

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