#20817E#20817E

#20817E is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.9% C 0.086 H 191.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#20817E
RGBrgb(32, 129, 126)
HSLhsl(178, 60%, 32%)
HSVhsv(178, 75%, 51%)
CMYKcmyk(75.2%, 0%, 2.3%, 49.4%)
CIE-LABlab(48.90, -27.45, -6.30)
CIE-LCHlch(48.90, 28.16, 192.92°)
OKLaboklab(54.93% -0.0838 -0.0176)
OKLCHoklch(54.93% 0.086 191.8)
XYZxyz(12.2101, 17.5125, 22.4713)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20817E #812023
analogous
#20814E #20817E #205481
triadic
#20817E #7E2081 #817E20
tetradic
#20817E #4E2081 #812023 #548120
square
#20817E #4E2081 #812023 #548120
split-complementary
#20817E #812054 #814E20
monochromatic
#081F1E #14504E #20817E #2CB2AE #49D2CE

Accessibility & contrast

On white

4.66
#20817E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#20817E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #20817E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20817E#FFFFFF#000000##FFFFFF
##20817E1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7E
Deuteranopia (green-blind)
#6B707F
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20817e;
/* rgb */ color: rgb(32, 129, 126);
/* oklch */ color: oklch(54.9% 0.086 191.8);
Tailwind
colors: {
  custom: {
    50: '#6da6a3',
    500: '#20817e',
    950: '#000000',
  },
}
SCSS
$custom: #20817e;
$custom-light: #6da6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20817e",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 126
  },
  "hsl": {
    "h": 178.144,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54927,
    "c": 0.08562,
    "h": 191.8
  },
  "luminance": 0.17514
}

Semantic roles & 50–950 ramp

primary
#20817E
secondary
#B4494C
accent
#4449E3
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #20817E

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

Preview Lab → · Contrast checker → · Palette generator →

#20817E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva