#20787A#20787A

#20787A is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.4% C 0.080 H 197.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#20787A
RGBrgb(32, 120, 122)
HSLhsl(181, 58%, 30%)
HSVhsv(181, 74%, 48%)
CMYKcmyk(73.8%, 1.6%, 0%, 52.2%)
CIE-LABlab(45.83, -24.16, -8.51)
CIE-LCHlch(45.83, 25.61, 199.40°)
OKLaboklab(52.39% -0.0761 -0.0236)
OKLCHoklch(52.39% 0.08 197.3)
XYZxyz(10.8234, 15.1439, 20.7612)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20787A #7A2220
analogous
#207A4F #20787A #204B7A
triadic
#20787A #7A2078 #787A20
tetradic
#20787A #4F207A #7A2220 #4B7A20
square
#20787A #4F207A #7A2220 #4B7A20
split-complementary
#20787A #7A204B #7A4F20
monochromatic
#071919 #13484A #20787A #2DA8AA #46CBCE

Accessibility & contrast

On white

5.21
#20787A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#20787A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20787A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20787A#FFFFFF#000000##FFFFFF
##20787A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727A
Deuteranopia (green-blind)
#62687B
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #20787a;
/* rgb */ color: rgb(32, 120, 122);
/* oklch */ color: oklch(52.4% 0.080 197.3);
Tailwind
colors: {
  custom: {
    50: '#6b9fa0',
    500: '#20787a',
    950: '#000000',
  },
}
SCSS
$custom: #20787a;
$custom-light: #6b9fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#20787a",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 181.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.07964,
    "h": 197.3
  },
  "luminance": 0.15145
}

Semantic roles & 50–950 ramp

primary
#20787A
secondary
#AD4B49
accent
#4A46E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #20787A

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

Preview Lab → · Contrast checker → · Palette generator →

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