#5B8871#5B8871

#5B8871 is a mid, moderate green. Relative luminance 0.210; OKLCH L 58.7% C 0.061 H 161.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5B8871
RGBrgb(91, 136, 113)
HSLhsl(149, 20%, 45%)
HSVhsv(149, 33%, 53%)
CMYKcmyk(33.1%, 0%, 16.9%, 46.7%)
CIE-LABlab(52.98, -20.67, 7.50)
CIE-LCHlch(52.98, 21.99, 160.06°)
OKLaboklab(58.72% -0.0578 0.0193)
OKLCHoklch(58.72% 0.061 161.5)
XYZxyz(16.0981, 21.0239, 18.8294)
Luminance0.2102 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8871 #885B72
analogous
#5C885B #5B8871 #5B8888
triadic
#5B8871 #715B88 #88715B
tetradic
#5B8871 #5B5C88 #885B72 #88885B
square
#5B8871 #5B5C88 #885B72 #88885B
split-complementary
#5B8871 #885B88 #885B5C
monochromatic
#2A3F34 #426353 #5B8871 #7AA690 #9FBFAE

Accessibility & contrast

On white

4.03
#5B8871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5B8871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8871
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8871#FFFFFF#000000##000000
##5B88711.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#878270
Deuteranopia (green-blind)
#7F7C72
Tritanopia (blue-blind)
#518881
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b8871;
/* rgb */ color: rgb(91, 136, 113);
/* oklch */ color: oklch(58.7% 0.061 161.5);
Tailwind
colors: {
  custom: {
    50: '#8bab99',
    500: '#5b8871',
    950: '#000000',
  },
}
SCSS
$custom: #5b8871;
$custom-light: #8bab99;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8871",
  "rgb": {
    "r": 91,
    "g": 136,
    "b": 113
  },
  "hsl": {
    "h": 149.333,
    "s": 19.824,
    "l": 44.51
  },
  "oklch": {
    "l": 0.58715,
    "c": 0.06092,
    "h": 161.5
  },
  "luminance": 0.21025
}

Semantic roles & 50–950 ramp

primary
#5B8871
secondary
#AD92A0
accent
#6B95BC
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C100E
muted
#7D7F7E

Preview Lab

Preview with #5B8871

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

Preview Lab → · Contrast checker → · Palette generator →

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