#5C795E#5C795E

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

Color values

HEX#5C795E
RGBrgb(92, 121, 94)
HSLhsl(124, 14%, 42%)
HSVhsv(124, 24%, 47%)
CMYKcmyk(24%, 0%, 22.3%, 52.5%)
CIE-LABlab(47.95, -16.27, 11.47)
CIE-LCHlch(47.95, 19.91, 144.81°)
OKLaboklab(54.55% -0.0445 0.0294)
OKLCHoklch(54.55% 0.053 146.6)
XYZxyz(13.2708, 16.7578, 13.1229)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C795E #795C77
analogous
#69795C #5C795E #5C796D
triadic
#5C795E #5E5C79 #795E5C
tetradic
#5C795E #5C6979 #795C77 #796D5C
square
#5C795E #5C6979 #795C77 #796D5C
split-complementary
#5C795E #6D5C79 #795C69
monochromatic
#273328 #425643 #5C795E #79997B #9CB49D

Accessibility & contrast

On white

4.83
#5C795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5C795E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C795E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C795E#FFFFFF#000000##FFFFFF
##5C795E1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c795e;
/* rgb */ color: rgb(92, 121, 94);
/* oklch */ color: oklch(54.5% 0.053 146.6);
Tailwind
colors: {
  custom: {
    50: '#8a9f8b',
    500: '#5c795e',
    950: '#000000',
  },
}
SCSS
$custom: #5c795e;
$custom-light: #8a9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c795e",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 124.138,
    "s": 13.615,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54549,
    "c": 0.05338,
    "h": 146.6
  },
  "luminance": 0.16758
}

Semantic roles & 50–950 ramp

primary
#5C795E
secondary
#A28FA1
accent
#71B2B6
background
#F8F9F8
surface
#F0F2F0
border
#CBCCCB
text
#0C0E0C
muted
#7D7E7D

Preview Lab

Preview with #5C795E

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

Preview Lab → · Contrast checker → · Palette generator →

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