#20785C#20785C

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

Color values

HEX#20785C
RGBrgb(32, 120, 92)
HSLhsl(161, 58%, 30%)
HSVhsv(161, 73%, 47%)
CMYKcmyk(73.3%, 0%, 23.3%, 52.9%)
CIE-LABlab(44.96, -32.82, 8.06)
CIE-LCHlch(44.96, 33.80, 166.20°)
OKLaboklab(51.39% -0.091 0.0206)
OKLCHoklch(51.39% 0.093 167.2)
XYZxyz(9.2429, 14.5117, 12.4370)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20785C #78203C
analogous
#207830 #20785C #206878
triadic
#20785C #5C2078 #785C20
tetradic
#20785C #302078 #78203C #687820
square
#20785C #302078 #78203C #687820
split-complementary
#20785C #782068 #783020
monochromatic
#061813 #134837 #20785C #2DA881 #45CDA2

Accessibility & contrast

On white

5.38
#20785C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#20785C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20785C
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20785C#FFFFFF#000000##FFFFFF
##20785C1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756F5B
Deuteranopia (green-blind)
#69675E
Tritanopia (blue-blind)
#007870
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #20785c;
/* rgb */ color: rgb(32, 120, 92);
/* oklch */ color: oklch(51.4% 0.093 167.2);
Tailwind
colors: {
  custom: {
    50: '#699f8a',
    500: '#20785c',
    950: '#000000',
  },
}
SCSS
$custom: #20785c;
$custom-light: #699f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#20785c",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 92
  },
  "hsl": {
    "h": 160.909,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.09329,
    "h": 167.2
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#20785C
secondary
#AB4868
accent
#4778E1
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #20785C

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

Preview Lab → · Contrast checker → · Palette generator →

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