#5D875F#5D875F

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

Color values

HEX#5D875F
RGBrgb(93, 135, 95)
HSLhsl(123, 18%, 45%)
HSVhsv(123, 31%, 53%)
CMYKcmyk(31.1%, 0%, 29.6%, 47.1%)
CIE-LABlab(52.38, -23.07, 17.01)
CIE-LCHlch(52.38, 28.66, 143.61°)
OKLaboklab(58.13% -0.063 0.043)
OKLCHoklch(58.13% 0.076 145.7)
XYZxyz(15.2431, 20.4807, 13.9743)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D875F #875D85
analogous
#70875D #5D875F #5D8774
triadic
#5D875F #5F5D87 #875F5D
tetradic
#5D875F #5D7087 #875D85 #87745D
square
#5D875F #5D7087 #875D85 #87745D
split-complementary
#5D875F #745D87 #875D70
monochromatic
#2B3F2C #446346 #5D875F #7CA57E #A1BEA2

Accessibility & contrast

On white

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

On black

5.10
#5D875F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D875F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D875F#FFFFFF#000000##000000
##5D875F1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89805D
Deuteranopia (green-blind)
#827B61
Tritanopia (blue-blind)
#58857C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d875f;
/* rgb */ color: rgb(93, 135, 95);
/* oklch */ color: oklch(58.1% 0.076 145.7);
Tailwind
colors: {
  custom: {
    50: '#8caa8c',
    500: '#5d875f',
    950: '#000000',
  },
}
SCSS
$custom: #5d875f;
$custom-light: #8caa8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d875f",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 122.857,
    "s": 18.421,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5813,
    "c": 0.0763,
    "h": 145.7
  },
  "luminance": 0.20481
}

Semantic roles & 50–950 ramp

primary
#5D875F
secondary
#AC94AB
accent
#6DB7BB
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5D875F

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

Preview Lab → · Contrast checker → · Palette generator →

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