#5B875F#5B875F

#5B875F is a mid, moderate green. Relative luminance 0.204; OKLCH L 58.0% C 0.078 H 146.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5B875F
RGBrgb(91, 135, 95)
HSLhsl(125, 19%, 44%)
HSVhsv(125, 33%, 53%)
CMYKcmyk(32.6%, 0%, 29.6%, 47.1%)
CIE-LABlab(52.26, -23.77, 16.83)
CIE-LCHlch(52.26, 29.13, 144.70°)
OKLaboklab(58.01% -0.0649 0.0426)
OKLCHoklch(58.01% 0.078 146.7)
XYZxyz(15.0432, 20.3776, 13.9649)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B875F #875B83
analogous
#6D875B #5B875F #5B8775
triadic
#5B875F #5F5B87 #875F5B
tetradic
#5B875F #5B6D87 #875B83 #87755B
square
#5B875F #5B6D87 #875B83 #87755B
split-complementary
#5B875F #755B87 #875B6D
monochromatic
#2A3E2C #426245 #5B875F #7AA57E #9EBEA1

Accessibility & contrast

On white

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

On black

5.08
#5B875F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B875F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B875F#FFFFFF#000000##000000
##5B875F1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887F5D
Deuteranopia (green-blind)
#817B61
Tritanopia (blue-blind)
#56857C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b875f;
/* rgb */ color: rgb(91, 135, 95);
/* oklch */ color: oklch(58.0% 0.078 146.7);
Tailwind
colors: {
  custom: {
    50: '#8baa8c',
    500: '#5b875f',
    950: '#000000',
  },
}
SCSS
$custom: #5b875f;
$custom-light: #8baa8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b875f",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 125.455,
    "s": 19.469,
    "l": 44.314
  },
  "oklch": {
    "l": 0.58007,
    "c": 0.07766,
    "h": 146.7
  },
  "luminance": 0.20378
}

Semantic roles & 50–950 ramp

primary
#5B875F
secondary
#AC92AA
accent
#6CB5BC
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5B875F

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

Preview Lab → · Contrast checker → · Palette generator →

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