#20797F#20797F

#20797F is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.081 H 201.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#20797F
RGBrgb(32, 121, 127)
HSLhsl(184, 60%, 31%)
HSVhsv(184, 75%, 50%)
CMYKcmyk(74.8%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.33, -23.08, -10.74)
CIE-LCHlch(46.33, 25.45, 204.95°)
OKLaboklab(52.85% -0.0748 -0.0298)
OKLCHoklch(52.85% 0.081 201.7)
XYZxyz(11.2621, 15.5128, 22.4753)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20797F #7F2620
analogous
#207F55 #20797F #20497F
triadic
#20797F #7F2079 #797F20
tetradic
#20797F #55207F #7F2620 #497F20
square
#20797F #55207F #7F2620 #497F20
split-complementary
#20797F #7F2049 #7F5520
monochromatic
#071C1D #144A4E #20797F #2CA8B0 #48C8D1

Accessibility & contrast

On white

5.12
#20797F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#20797F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20797F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20797F#FFFFFF#000000##FFFFFF
##20797F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F747F
Deuteranopia (green-blind)
#62697F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #20797f;
/* rgb */ color: rgb(32, 121, 127);
/* oklch */ color: oklch(52.9% 0.081 201.7);
Tailwind
colors: {
  custom: {
    50: '#6ca0a4',
    500: '#20797f',
    950: '#000000',
  },
}
SCSS
$custom: #20797f;
$custom-light: #6ca0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20797f",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 183.789,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52853,
    "c": 0.08052,
    "h": 201.7
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#20797F
secondary
#B25049
accent
#4F45E3
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #20797F

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

Preview Lab → · Contrast checker → · Palette generator →

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