#20785E#20785E

#20785E is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.4% C 0.092 H 168.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#20785E
RGBrgb(32, 120, 94)
HSLhsl(162, 58%, 30%)
HSVhsv(162, 73%, 47%)
CMYKcmyk(73.3%, 0%, 21.7%, 52.9%)
CIE-LABlab(45.01, -32.30, 6.95)
CIE-LCHlch(45.01, 33.04, 167.86°)
OKLaboklab(51.45% -0.0899 0.0178)
OKLCHoklch(51.45% 0.092 168.8)
XYZxyz(9.3314, 14.5471, 12.9036)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20785E #78203A
analogous
#207832 #20785E #206678
triadic
#20785E #5E2078 #785E20
tetradic
#20785E #322078 #78203A #667820
square
#20785E #322078 #78203A #667820
split-complementary
#20785E #782066 #783220
monochromatic
#061813 #134838 #20785E #2DA884 #45CDA5

Accessibility & contrast

On white

5.37
#20785E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#20785E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20785E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20785E#FFFFFF#000000##FFFFFF
##20785E1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756F5D
Deuteranopia (green-blind)
#696760
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #20785e;
/* rgb */ color: rgb(32, 120, 94);
/* oklch */ color: oklch(51.4% 0.092 168.8);
Tailwind
colors: {
  custom: {
    50: '#699f8b',
    500: '#20785e',
    950: '#000000',
  },
}
SCSS
$custom: #20785e;
$custom-light: #699f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#20785e",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 94
  },
  "hsl": {
    "h": 162.273,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.09169,
    "h": 168.8
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#20785E
secondary
#AB4866
accent
#4774E1
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #20785E

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

Preview Lab → · Contrast checker → · Palette generator →

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