#20817B#20817B

#20817B is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.8% C 0.086 H 188.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#20817B
RGBrgb(32, 129, 123)
HSLhsl(176, 60%, 32%)
HSVhsv(176, 75%, 51%)
CMYKcmyk(75.2%, 0%, 4.7%, 49.4%)
CIE-LABlab(48.80, -28.36, -4.67)
CIE-LCHlch(48.80, 28.75, 189.35°)
OKLaboklab(54.82% -0.0852 -0.0131)
OKLCHoklch(54.82% 0.086 188.8)
XYZxyz(12.0194, 17.4362, 21.4671)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20817B #812026
analogous
#20814B #20817B #205781
triadic
#20817B #7B2081 #817B20
tetradic
#20817B #4B2081 #812026 #578120
square
#20817B #4B2081 #812026 #578120
split-complementary
#20817B #812057 #814B20
monochromatic
#081F1D #14504C #20817B #2CB2AA #49D2CA

Accessibility & contrast

On white

4.68
#20817B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#20817B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20817B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20817B#FFFFFF#000000##FFFFFF
##20817B1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7B
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#00847F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20817b;
/* rgb */ color: rgb(32, 129, 123);
/* oklch */ color: oklch(54.8% 0.086 188.8);
Tailwind
colors: {
  custom: {
    50: '#6da6a1',
    500: '#20817b',
    950: '#000000',
  },
}
SCSS
$custom: #20817b;
$custom-light: #6da6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#20817b",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 123
  },
  "hsl": {
    "h": 176.289,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.08624,
    "h": 188.8
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#20817B
secondary
#B44950
accent
#444EE3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #20817B

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

Preview Lab → · Contrast checker → · Palette generator →

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