#5B875D#5B875D

#5B875D is a mid, moderate green. Relative luminance 0.203; OKLCH L 58.0% C 0.080 H 145.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5B875D
RGBrgb(91, 135, 93)
HSLhsl(123, 19%, 44%)
HSVhsv(123, 33%, 53%)
CMYKcmyk(32.6%, 0%, 31.1%, 47.1%)
CIE-LABlab(52.22, -24.14, 17.91)
CIE-LCHlch(52.22, 30.06, 143.42°)
OKLaboklab(57.96% -0.0659 0.0452)
OKLCHoklch(57.96% 0.08 145.5)
XYZxyz(14.9535, 20.3417, 13.4923)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B875D #875B85
analogous
#6F875B #5B875D #5B8773
triadic
#5B875D #5D5B87 #875D5B
tetradic
#5B875D #5B6F87 #875B85 #87735B
square
#5B875D #5B6F87 #875B85 #87735B
split-complementary
#5B875D #735B87 #875B6F
monochromatic
#2A3E2B #426244 #5B875D #7AA57C #9EBEA0

Accessibility & contrast

On white

4.14
#5B875D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5B875D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B875D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B875D#FFFFFF#000000##000000
##5B875D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F5A
Deuteranopia (green-blind)
#827B5F
Tritanopia (blue-blind)
#56857C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b875d;
/* rgb */ color: rgb(91, 135, 93);
/* oklch */ color: oklch(58.0% 0.080 145.5);
Tailwind
colors: {
  custom: {
    50: '#8baa8b',
    500: '#5b875d',
    950: '#000000',
  },
}
SCSS
$custom: #5b875d;
$custom-light: #8baa8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b875d",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 93
  },
  "hsl": {
    "h": 122.727,
    "s": 19.469,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57961,
    "c": 0.0799,
    "h": 145.5
  },
  "luminance": 0.20342
}

Semantic roles & 50–950 ramp

primary
#5B875D
secondary
#AC92AB
accent
#6CB8BC
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5B875D

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

Preview Lab → · Contrast checker → · Palette generator →

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