#5D795E#5D795E

#5D795E is a mid, muted green. Relative luminance 0.168; OKLCH L 54.6% C 0.053 H 145.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5D795E
RGBrgb(93, 121, 94)
HSLhsl(122, 13%, 42%)
HSVhsv(122, 23%, 47%)
CMYKcmyk(23.1%, 0%, 22.3%, 52.5%)
CIE-LABlab(48.02, -15.90, 11.57)
CIE-LCHlch(48.02, 19.67, 143.95°)
OKLaboklab(54.62% -0.0435 0.0297)
OKLCHoklch(54.62% 0.053 145.7)
XYZxyz(13.3714, 16.8097, 13.1276)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D795E #795D78
analogous
#6A795D #5D795E #5D796C
triadic
#5D795E #5E5D79 #795E5D
tetradic
#5D795E #5D6A79 #795D78 #796C5D
square
#5D795E #5D6A79 #795D78 #796C5D
split-complementary
#5D795E #6C5D79 #795D6A
monochromatic
#283428 #425643 #5D795E #7A997B #9DB49E

Accessibility & contrast

On white

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

On black

4.36
#5D795E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D795E#FFFFFF#000000##FFFFFF
##5D795E1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745C
Deuteranopia (green-blind)
#75715F
Tritanopia (blue-blind)
#5A7772
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d795e;
/* rgb */ color: rgb(93, 121, 94);
/* oklch */ color: oklch(54.6% 0.053 145.7);
Tailwind
colors: {
  custom: {
    50: '#8b9f8b',
    500: '#5d795e',
    950: '#000000',
  },
}
SCSS
$custom: #5d795e;
$custom-light: #8b9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d795e",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 122.143,
    "s": 13.084,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54619,
    "c": 0.05265,
    "h": 145.7
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#5D795E
secondary
#A290A2
accent
#72B4B6
background
#F8F9F8
surface
#F0F2F0
border
#CBCCCB
text
#0C0E0C
muted
#7D7E7D

Preview Lab

Preview with #5D795E

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

Preview Lab → · Contrast checker → · Palette generator →

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