#20796F#20796F

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

Color values

HEX#20796F
RGBrgb(32, 121, 111)
HSLhsl(173, 58%, 30%)
HSVhsv(173, 74%, 47%)
CMYKcmyk(73.6%, 0%, 8.3%, 52.5%)
CIE-LABlab(45.81, -28.03, -1.99)
CIE-LCHlch(45.81, 28.10, 184.06°)
OKLaboklab(52.26% -0.0824 -0.0058)
OKLCHoklch(52.26% 0.083 184)
XYZxyz(10.3009, 15.1283, 17.4130)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20796F #79202A
analogous
#207942 #20796F #205779
triadic
#20796F #6F2079 #796F20
tetradic
#20796F #422079 #79202A #577920
square
#20796F #422079 #79202A #577920
split-complementary
#20796F #792057 #794220
monochromatic
#061816 #134943 #20796F #2DA99B #45CEBF

Accessibility & contrast

On white

5.22
#20796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#20796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20796F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20796F#FFFFFF#000000##FFFFFF
##20796F1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726F
Deuteranopia (green-blind)
#666970
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #20796f;
/* rgb */ color: rgb(32, 121, 111);
/* oklch */ color: oklch(52.3% 0.083 184.0);
Tailwind
colors: {
  custom: {
    50: '#6aa098',
    500: '#20796f',
    950: '#000000',
  },
}
SCSS
$custom: #20796f;
$custom-light: #6aa098;
$custom-dark: #000000;
JSON
{
  "hex": "#20796f",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 173.258,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.08266,
    "h": 184
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#20796F
secondary
#AC4954
accent
#4658E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #20796F

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

Preview Lab → · Contrast checker → · Palette generator →

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