#20786F#20786F

#20786F is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.082 H 185.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#20786F
RGBrgb(32, 120, 111)
HSLhsl(174, 58%, 30%)
HSVhsv(174, 73%, 47%)
CMYKcmyk(73.3%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.48, -27.54, -2.48)
CIE-LCHlch(45.48, 27.65, 185.14°)
OKLaboklab(51.99% -0.0814 -0.0071)
OKLCHoklch(51.99% 0.082 185)
XYZxyz(10.1800, 14.8865, 17.3727)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20786F #782029
analogous
#207843 #20786F #205578
triadic
#20786F #6F2078 #786F20
tetradic
#20786F #432078 #782029 #557820
square
#20786F #432078 #782029 #557820
split-complementary
#20786F #782055 #784320
monochromatic
#061816 #134842 #20786F #2DA89C #45CDBF

Accessibility & contrast

On white

5.28
#20786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#20786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20786F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20786F#FFFFFF#000000##FFFFFF
##20786F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716F
Deuteranopia (green-blind)
#656870
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #20786f;
/* rgb */ color: rgb(32, 120, 111);
/* oklch */ color: oklch(52.0% 0.082 185.0);
Tailwind
colors: {
  custom: {
    50: '#6a9f98',
    500: '#20786f',
    950: '#000000',
  },
}
SCSS
$custom: #20786f;
$custom-light: #6a9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#20786f",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 173.864,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.08167,
    "h": 185
  },
  "luminance": 0.14888
}

Semantic roles & 50–950 ramp

primary
#20786F
secondary
#AB4853
accent
#4756E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #20786F

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

Preview Lab → · Contrast checker → · Palette generator →

#20786F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva