#5D786F#5D786F

#5D786F is a mid, muted teal. Relative luminance 0.169; OKLCH L 54.9% C 0.034 H 172.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5D786F
RGBrgb(93, 120, 111)
HSLhsl(160, 13%, 42%)
HSVhsv(160, 23%, 47%)
CMYKcmyk(22.5%, 0%, 7.5%, 52.9%)
CIE-LABlab(48.14, -11.80, 1.73)
CIE-LCHlch(48.14, 11.93, 171.64°)
OKLaboklab(54.86% -0.0341 0.0044)
OKLCHoklch(54.86% 0.034 172.6)
XYZxyz(14.0991, 16.9073, 17.5564)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D786F #785D66
analogous
#5D7862 #5D786F #5D7478
triadic
#5D786F #6F5D78 #786F5D
tetradic
#5D786F #625D78 #785D66 #74785D
square
#5D786F #625D78 #785D66 #74785D
split-complementary
#5D786F #785D74 #78625D
monochromatic
#28332F #42564F #5D786F #7A988E #9DB3AB

Accessibility & contrast

On white

4.79
#5D786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5D786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D786F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D786F#FFFFFF#000000##FFFFFF
##5D786F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d786f;
/* rgb */ color: rgb(93, 120, 111);
/* oklch */ color: oklch(54.9% 0.034 172.6);
Tailwind
colors: {
  custom: {
    50: '#8b9f98',
    500: '#5d786f',
    950: '#000000',
  },
}
SCSS
$custom: #5d786f;
$custom-light: #8b9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#5d786f",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 160,
    "s": 12.676,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.03435,
    "h": 172.6
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#5D786F
secondary
#A28F95
accent
#7289B6
background
#F8F9F9
surface
#F0F2F2
border
#CBCCCC
text
#0C0E0D
muted
#7D7E7E

Preview Lab

Preview with #5D786F

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

Preview Lab → · Contrast checker → · Palette generator →

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