#5B795D#5B795D

#5B795D is a mid, muted green. Relative luminance 0.167; OKLCH L 54.5% C 0.055 H 146.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5B795D
RGBrgb(91, 121, 93)
HSLhsl(124, 14%, 42%)
HSVhsv(124, 25%, 47%)
CMYKcmyk(24.8%, 0%, 23.1%, 52.5%)
CIE-LABlab(47.87, -16.83, 11.93)
CIE-LCHlch(47.87, 20.63, 144.68°)
OKLaboklab(54.45% -0.0461 0.0305)
OKLCHoklch(54.45% 0.055 146.5)
XYZxyz(13.1270, 16.6888, 12.8834)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B795D #795B77
analogous
#68795B #5B795D #5B796C
triadic
#5B795D #5D5B79 #795D5B
tetradic
#5B795D #5B6879 #795B77 #796C5B
square
#5B795D #5B6879 #795B77 #796C5B
split-complementary
#5B795D #6C5B79 #795B68
monochromatic
#263327 #415642 #5B795D #78997A #9BB49C

Accessibility & contrast

On white

4.84
#5B795D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5B795D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B795D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B795D#FFFFFF#000000##FFFFFF
##5B795D1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745B
Deuteranopia (green-blind)
#75705E
Tritanopia (blue-blind)
#587771
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b795d;
/* rgb */ color: rgb(91, 121, 93);
/* oklch */ color: oklch(54.5% 0.055 146.5);
Tailwind
colors: {
  custom: {
    50: '#8a9f8b',
    500: '#5b795d',
    950: '#000000',
  },
}
SCSS
$custom: #5b795d;
$custom-light: #8a9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b795d",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 124,
    "s": 14.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.05527,
    "h": 146.5
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#5B795D
secondary
#A28EA1
accent
#71B2B7
background
#F8F9F8
surface
#F0F2F0
border
#CBCCCB
text
#0B0E0C
muted
#7C7E7D

Preview Lab

Preview with #5B795D

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

Preview Lab → · Contrast checker → · Palette generator →

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