#5C786F#5C786F

#5C786F is a mid, muted teal. Relative luminance 0.169; OKLCH L 54.8% C 0.035 H 173.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5C786F
RGBrgb(92, 120, 111)
HSLhsl(161, 13%, 42%)
HSVhsv(161, 23%, 47%)
CMYKcmyk(23.3%, 0%, 7.5%, 52.9%)
CIE-LABlab(48.08, -12.15, 1.63)
CIE-LCHlch(48.08, 12.26, 172.35°)
OKLaboklab(54.79% -0.0351 0.0041)
OKLCHoklch(54.79% 0.035 173.3)
XYZxyz(13.9985, 16.8554, 17.5517)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C786F #785C65
analogous
#5C7861 #5C786F #5C7378
triadic
#5C786F #6F5C78 #786F5C
tetradic
#5C786F #615C78 #785C65 #73785C
square
#5C786F #615C78 #785C65 #73785C
split-complementary
#5C786F #785C73 #78615C
monochromatic
#27332F #41554F #5C786F #79988E #9CB3AB

Accessibility & contrast

On white

4.80
#5C786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C786F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C786F#FFFFFF#000000##FFFFFF
##5C786F1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76746F
Deuteranopia (green-blind)
#717170
Tritanopia (blue-blind)
#557975
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c786f;
/* rgb */ color: rgb(92, 120, 111);
/* oklch */ color: oklch(54.8% 0.035 173.3);
Tailwind
colors: {
  custom: {
    50: '#8a9f98',
    500: '#5c786f',
    950: '#000000',
  },
}
SCSS
$custom: #5c786f;
$custom-light: #8a9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#5c786f",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 160.714,
    "s": 13.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.03535,
    "h": 173.3
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#5C786F
secondary
#A18E94
accent
#7288B6
background
#F8F9F9
surface
#F0F2F2
border
#CBCCCC
text
#0C0E0D
muted
#7D7E7E

Preview Lab

Preview with #5C786F

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

Preview Lab → · Contrast checker → · Palette generator →

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