#20797C#20797C

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

Color values

HEX#20797C
RGBrgb(32, 121, 124)
HSLhsl(182, 59%, 31%)
HSVhsv(182, 74%, 49%)
CMYKcmyk(74.2%, 2.4%, 0%, 51.4%)
CIE-LABlab(46.23, -24.04, -9.11)
CIE-LCHlch(46.23, 25.71, 200.75°)
OKLaboklab(52.74% -0.0762 -0.0253)
OKLCHoklch(52.74% 0.08 198.4)
XYZxyz(11.0695, 15.4357, 21.4609)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20797C #7C2320
analogous
#207C51 #20797C #204B7C
triadic
#20797C #7C2079 #797C20
tetradic
#20797C #51207C #7C2320 #4B7C20
square
#20797C #51207C #7C2320 #4B7C20
split-complementary
#20797C #7C204B #7C5120
monochromatic
#071A1B #134A4B #20797C #2DA8AD #47CBCF

Accessibility & contrast

On white

5.14
#20797C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#20797C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20797C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20797C#FFFFFF#000000##FFFFFF
##20797C1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737C
Deuteranopia (green-blind)
#63697D
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #20797c;
/* rgb */ color: rgb(32, 121, 124);
/* oklch */ color: oklch(52.7% 0.080 198.4);
Tailwind
colors: {
  custom: {
    50: '#6ba0a1',
    500: '#20797c',
    950: '#000000',
  },
}
SCSS
$custom: #20797c;
$custom-light: #6ba0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#20797c",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 181.957,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.08028,
    "h": 198.4
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#20797C
secondary
#AF4C49
accent
#4B46E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E

Preview Lab

Preview with #20797C

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

Preview Lab → · Contrast checker → · Palette generator →

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