#5D875E#5D875E

#5D875E is a mid, moderate green. Relative luminance 0.205; OKLCH L 58.1% C 0.077 H 145.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5D875E
RGBrgb(93, 135, 94)
HSLhsl(121, 18%, 45%)
HSVhsv(121, 31%, 53%)
CMYKcmyk(31.1%, 0%, 30.4%, 47.1%)
CIE-LABlab(52.36, -23.25, 17.55)
CIE-LCHlch(52.36, 29.13, 142.96°)
OKLaboklab(58.11% -0.0635 0.0444)
OKLCHoklch(58.11% 0.077 145.1)
XYZxyz(15.1979, 20.4626, 13.7364)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D875E #875D86
analogous
#71875D #5D875E #5D8773
triadic
#5D875E #5E5D87 #875E5D
tetradic
#5D875E #5D7187 #875D86 #87735D
square
#5D875E #5D7187 #875D86 #87735D
split-complementary
#5D875E #735D87 #875D71
monochromatic
#2B3F2C #446345 #5D875E #7CA57D #A1BEA1

Accessibility & contrast

On white

4.12
#5D875E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5D875E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D875E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D875E#FFFFFF#000000##000000
##5D875E1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89805B
Deuteranopia (green-blind)
#827B60
Tritanopia (blue-blind)
#59857C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d875e;
/* rgb */ color: rgb(93, 135, 94);
/* oklch */ color: oklch(58.1% 0.077 145.1);
Tailwind
colors: {
  custom: {
    50: '#8caa8c',
    500: '#5d875e',
    950: '#000000',
  },
}
SCSS
$custom: #5d875e;
$custom-light: #8caa8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d875e",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 94
  },
  "hsl": {
    "h": 121.429,
    "s": 18.421,
    "l": 44.706
  },
  "oklch": {
    "l": 0.58107,
    "c": 0.07743,
    "h": 145.1
  },
  "luminance": 0.20463
}

Semantic roles & 50–950 ramp

primary
#5D875E
secondary
#AC94AC
accent
#6DB9BB
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5D875E

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

Preview Lab → · Contrast checker → · Palette generator →

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