#20796A#20796A

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

Color values

HEX#20796A
RGBrgb(32, 121, 106)
HSLhsl(170, 58%, 30%)
HSVhsv(170, 74%, 47%)
CMYKcmyk(73.6%, 0%, 12.4%, 52.5%)
CIE-LABlab(45.66, -29.49, 0.77)
CIE-LCHlch(45.66, 29.50, 178.51°)
OKLaboklab(52.09% -0.0849 0.0016)
OKLCHoklch(52.09% 0.085 178.9)
XYZxyz(10.0333, 15.0213, 16.0035)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20796A #79202F
analogous
#20793E #20796A #205B79
triadic
#20796A #6A2079 #796A20
tetradic
#20796A #3E2079 #79202F #5B7920
square
#20796A #3E2079 #79202F #5B7920
split-complementary
#20796A #79205B #793E20
monochromatic
#061815 #134940 #20796A #2DA994 #45CEB7

Accessibility & contrast

On white

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

On black

4.00
#20796A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20796A#FFFFFF#000000##FFFFFF
##20796A1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747169
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #20796a;
/* rgb */ color: rgb(32, 121, 106);
/* oklch */ color: oklch(52.1% 0.085 178.9);
Tailwind
colors: {
  custom: {
    50: '#6aa094',
    500: '#20796a',
    950: '#000000',
  },
}
SCSS
$custom: #20796a;
$custom-light: #6aa094;
$custom-dark: #000000;
JSON
{
  "hex": "#20796a",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 169.888,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.52091,
    "c": 0.08496,
    "h": 178.9
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#20796A
secondary
#AC4959
accent
#4661E1
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #20796A

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

Preview Lab → · Contrast checker → · Palette generator →

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