#20816B#20816B

#20816B is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.3% C 0.094 H 173.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#20816B
RGBrgb(32, 129, 107)
HSLhsl(166, 60%, 32%)
HSVhsv(166, 75%, 51%)
CMYKcmyk(75.2%, 0%, 17.1%, 49.4%)
CIE-LABlab(48.35, -32.96, 4.06)
CIE-LCHlch(48.35, 33.21, 172.98°)
OKLaboklab(54.29% -0.0931 0.0102)
OKLCHoklch(54.29% 0.094 173.7)
XYZxyz(11.0984, 17.0678, 16.6166)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20816B #812036
analogous
#20813B #20816B #206781
triadic
#20816B #6B2081 #816B20
tetradic
#20816B #3B2081 #812036 #678120
square
#20816B #3B2081 #812036 #678120
split-complementary
#20816B #812067 #813B20
monochromatic
#081F1A #145042 #20816B #2CB294 #49D2B3

Accessibility & contrast

On white

4.76
#20816B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#20816B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20816B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20816B#FFFFFF#000000##FFFFFF
##20816B1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C786A
Deuteranopia (green-blind)
#706F6D
Tritanopia (blue-blind)
#00827B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20816b;
/* rgb */ color: rgb(32, 129, 107);
/* oklch */ color: oklch(54.3% 0.094 173.7);
Tailwind
colors: {
  custom: {
    50: '#6ba695',
    500: '#20816b',
    950: '#000000',
  },
}
SCSS
$custom: #20816b;
$custom-light: #6ba695;
$custom-dark: #000000;
JSON
{
  "hex": "#20816b",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 107
  },
  "hsl": {
    "h": 166.392,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.09371,
    "h": 173.7
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#20816B
secondary
#B44961
accent
#4468E3
background
#F6FAF9
surface
#ECF4F1
border
#C7CECB
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #20816B

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

Preview Lab → · Contrast checker → · Palette generator →

#20816B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva