#5F795E#5F795E

#5F795E is a mid, muted green. Relative luminance 0.169; OKLCH L 54.8% C 0.051 H 143.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5F795E
RGBrgb(95, 121, 94)
HSLhsl(118, 13%, 42%)
HSVhsv(118, 22%, 47%)
CMYKcmyk(21.5%, 0%, 22.3%, 52.5%)
CIE-LABlab(48.15, -15.15, 11.78)
CIE-LCHlch(48.15, 19.19, 142.14°)
OKLaboklab(54.76% -0.0414 0.0302)
OKLCHoklch(54.76% 0.051 143.9)
XYZxyz(13.5766, 16.9154, 13.1372)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F795E #785E79
analogous
#6D795E #5F795E #5E796B
triadic
#5F795E #5E5F79 #795E5F
tetradic
#5F795E #5E6D79 #785E79 #796B5E
square
#5F795E #5E6D79 #785E79 #796B5E
split-complementary
#5F795E #6B5E79 #795E6D
monochromatic
#293428 #445743 #5F795E #7D997B #9FB49E

Accessibility & contrast

On white

4.79
#5F795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5F795E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F795E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F795E#FFFFFF#000000##FFFFFF
##5F795E1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f795e;
/* rgb */ color: rgb(95, 121, 94);
/* oklch */ color: oklch(54.8% 0.051 143.9);
Tailwind
colors: {
  custom: {
    50: '#8d9f8b',
    500: '#5f795e',
    950: '#000000',
  },
}
SCSS
$custom: #5f795e;
$custom-light: #8d9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f795e",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 117.778,
    "s": 12.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.05122,
    "h": 143.9
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F795E

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

Preview Lab → · Contrast checker → · Palette generator →

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