#20797A#20797A

#20797A is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.080 H 196.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#20797A
RGBrgb(32, 121, 122)
HSLhsl(181, 58%, 30%)
HSVhsv(181, 74%, 48%)
CMYKcmyk(73.8%, 0.8%, 0%, 52.2%)
CIE-LABlab(46.16, -24.67, -8.02)
CIE-LCHlch(46.16, 25.94, 198.01°)
OKLaboklab(52.66% -0.0771 -0.0223)
OKLCHoklch(52.66% 0.08 196.1)
XYZxyz(10.9443, 15.3857, 20.8015)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20797A #7A2120
analogous
#207A4E #20797A #204C7A
triadic
#20797A #7A2079 #797A20
tetradic
#20797A #4E207A #7A2120 #4C7A20
square
#20797A #4E207A #7A2120 #4C7A20
split-complementary
#20797A #7A204C #7A4E20
monochromatic
#071919 #13494A #20797A #2DA9AA #46CDCE

Accessibility & contrast

On white

5.15
#20797A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#20797A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20797A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20797A#FFFFFF#000000##FFFFFF
##20797A1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71737A
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #20797a;
/* rgb */ color: rgb(32, 121, 122);
/* oklch */ color: oklch(52.7% 0.080 196.1);
Tailwind
colors: {
  custom: {
    50: '#6ba0a0',
    500: '#20797a',
    950: '#000000',
  },
}
SCSS
$custom: #20797a;
$custom-light: #6ba0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#20797a",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 180.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52658,
    "c": 0.08028,
    "h": 196.1
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#20797A
secondary
#AD4A49
accent
#4846E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #20797A

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

Preview Lab → · Contrast checker → · Palette generator →

#20797A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva