#5B795E#5B795E

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

Color values

HEX#5B795E
RGBrgb(91, 121, 94)
HSLhsl(126, 14%, 42%)
HSVhsv(126, 25%, 47%)
CMYKcmyk(24.8%, 0%, 22.3%, 52.5%)
CIE-LABlab(47.89, -16.64, 11.37)
CIE-LCHlch(47.89, 20.15, 145.64°)
OKLaboklab(54.48% -0.0456 0.0292)
OKLCHoklch(54.48% 0.054 147.4)
XYZxyz(13.1716, 16.7066, 13.1182)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B795E #795B76
analogous
#67795B #5B795E #5B796D
triadic
#5B795E #5E5B79 #795E5B
tetradic
#5B795E #5B6779 #795B76 #796D5B
square
#5B795E #5B6779 #795B76 #796D5B
split-complementary
#5B795E #6D5B79 #795B67
monochromatic
#263328 #415643 #5B795E #78997B #9BB49D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B795E#FFFFFF#000000##FFFFFF
##5B795E1.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)
#7A745C
Deuteranopia (green-blind)
#75705F
Tritanopia (blue-blind)
#587872
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b795e;
/* rgb */ color: rgb(91, 121, 94);
/* oklch */ color: oklch(54.5% 0.054 147.4);
Tailwind
colors: {
  custom: {
    50: '#8a9f8b',
    500: '#5b795e',
    950: '#000000',
  },
}
SCSS
$custom: #5b795e;
$custom-light: #8a9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b795e",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 126,
    "s": 14.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.05412,
    "h": 147.4
  },
  "luminance": 0.16707
}

Semantic roles & 50–950 ramp

primary
#5B795E
secondary
#A28EA0
accent
#71B0B7
background
#F8F9F8
surface
#F0F2F0
border
#CBCCCB
text
#0B0E0C
muted
#7C7E7D

Preview Lab

Preview with #5B795E

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

Preview Lab → · Contrast checker → · Palette generator →

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