#5C786E#5C786E

#5C786E is a mid, muted teal. Relative luminance 0.168; OKLCH L 54.8% C 0.036 H 171.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5C786E
RGBrgb(92, 120, 110)
HSLhsl(159, 13%, 42%)
HSVhsv(159, 23%, 47%)
CMYKcmyk(23.3%, 0%, 8.3%, 52.9%)
CIE-LABlab(48.05, -12.37, 2.18)
CIE-LCHlch(48.05, 12.56, 169.99°)
OKLaboklab(54.76% -0.0356 0.0056)
OKLCHoklch(54.76% 0.036 171.1)
XYZxyz(13.9438, 16.8335, 17.2633)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C786E #785C66
analogous
#5C7860 #5C786E #5C7478
triadic
#5C786E #6E5C78 #786E5C
tetradic
#5C786E #605C78 #785C66 #74785C
square
#5C786E #605C78 #785C66 #74785C
split-complementary
#5C786E #785C74 #78605C
monochromatic
#27332E #41554E #5C786E #79988D #9CB3AB

Accessibility & contrast

On white

4.81
#5C786E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5C786E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C786E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C786E#FFFFFF#000000##FFFFFF
##5C786E1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76746E
Deuteranopia (green-blind)
#71716F
Tritanopia (blue-blind)
#567875
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c786e;
/* rgb */ color: rgb(92, 120, 110);
/* oklch */ color: oklch(54.8% 0.036 171.1);
Tailwind
colors: {
  custom: {
    50: '#8a9f97',
    500: '#5c786e',
    950: '#000000',
  },
}
SCSS
$custom: #5c786e;
$custom-light: #8a9f97;
$custom-dark: #000000;
JSON
{
  "hex": "#5c786e",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 158.571,
    "s": 13.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.03601,
    "h": 171.1
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#5C786E
secondary
#A18E95
accent
#728AB6
background
#F8F9F9
surface
#F0F2F2
border
#CBCCCC
text
#0C0E0D
muted
#7D7E7E

Preview Lab

Preview with #5C786E

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

Preview Lab → · Contrast checker → · Palette generator →

#5C786E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva