#20785D#20785D

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

Color values

HEX#20785D
RGBrgb(32, 120, 93)
HSLhsl(162, 58%, 30%)
HSVhsv(162, 73%, 47%)
CMYKcmyk(73.3%, 0%, 22.5%, 52.9%)
CIE-LABlab(44.98, -32.56, 7.50)
CIE-LCHlch(44.98, 33.42, 167.02°)
OKLaboklab(51.42% -0.0905 0.0192)
OKLCHoklch(51.42% 0.092 168)
XYZxyz(9.2869, 14.5293, 12.6688)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20785D #78203B
analogous
#207831 #20785D #206778
triadic
#20785D #5D2078 #785D20
tetradic
#20785D #312078 #78203B #677820
square
#20785D #312078 #78203B #677820
split-complementary
#20785D #782067 #783120
monochromatic
#061813 #134838 #20785D #2DA882 #45CDA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20785D#FFFFFF#000000##FFFFFF
##20785D1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756F5C
Deuteranopia (green-blind)
#69675F
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #20785d;
/* rgb */ color: rgb(32, 120, 93);
/* oklch */ color: oklch(51.4% 0.092 168.0);
Tailwind
colors: {
  custom: {
    50: '#699f8a',
    500: '#20785d',
    950: '#000000',
  },
}
SCSS
$custom: #20785d;
$custom-light: #699f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#20785d",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 93
  },
  "hsl": {
    "h": 161.591,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5142,
    "c": 0.09247,
    "h": 168
  },
  "luminance": 0.1453
}

Semantic roles & 50–950 ramp

primary
#20785D
secondary
#AB4867
accent
#4776E1
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #20785D

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

Preview Lab → · Contrast checker → · Palette generator →

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