#5C795F#5C795F

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

Color values

HEX#5C795F
RGBrgb(92, 121, 95)
HSLhsl(126, 14%, 42%)
HSVhsv(126, 24%, 47%)
CMYKcmyk(24%, 0%, 21.5%, 52.5%)
CIE-LABlab(47.98, -16.07, 10.92)
CIE-LCHlch(47.98, 19.43, 145.81°)
OKLaboklab(54.58% -0.0441 0.028)
OKLCHoklch(54.58% 0.052 147.6)
XYZxyz(13.3160, 16.7759, 13.3607)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C795F #795C76
analogous
#68795C #5C795F #5C796E
triadic
#5C795F #5F5C79 #795F5C
tetradic
#5C795F #5C6879 #795C76 #796E5C
square
#5C795F #5C6879 #795C76 #796E5C
split-complementary
#5C795F #6E5C79 #795C68
monochromatic
#273328 #425644 #5C795F #79997C #9CB49E

Accessibility & contrast

On white

4.82
#5C795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C795F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C795F#FFFFFF#000000##FFFFFF
##5C795F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745E
Deuteranopia (green-blind)
#757160
Tritanopia (blue-blind)
#597872
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c795f;
/* rgb */ color: rgb(92, 121, 95);
/* oklch */ color: oklch(54.6% 0.052 147.6);
Tailwind
colors: {
  custom: {
    50: '#8a9f8c',
    500: '#5c795f',
    950: '#000000',
  },
}
SCSS
$custom: #5c795f;
$custom-light: #8a9f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c795f",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 126.207,
    "s": 13.615,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.05223,
    "h": 147.6
  },
  "luminance": 0.16776
}

Semantic roles & 50–950 ramp

primary
#5C795F
secondary
#A28FA0
accent
#71AFB6
background
#F8F9F8
surface
#F0F2F0
border
#CBCCCB
text
#0C0E0C
muted
#7D7E7D

Preview Lab

Preview with #5C795F

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

Preview Lab → · Contrast checker → · Palette generator →

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