#5B8971#5B8971

#5B8971 is a mid, moderate green. Relative luminance 0.213; OKLCH L 59.0% C 0.063 H 160.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5B8971
RGBrgb(91, 137, 113)
HSLhsl(149, 20%, 45%)
HSVhsv(149, 34%, 54%)
CMYKcmyk(33.6%, 0%, 17.5%, 46.3%)
CIE-LABlab(53.28, -21.19, 7.94)
CIE-LCHlch(53.28, 22.63, 159.47°)
OKLaboklab(58.96% -0.0591 0.0205)
OKLCHoklch(58.96% 0.063 160.9)
XYZxyz(16.2396, 21.3069, 18.8765)
Luminance0.2131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8971 #895B73
analogous
#5C895B #5B8971 #5B8988
triadic
#5B8971 #715B89 #89715B
tetradic
#5B8971 #5B5C89 #895B73 #89885B
square
#5B8971 #5B5C89 #895B73 #89885B
split-complementary
#5B8971 #885B89 #895B5C
monochromatic
#2A3F34 #436453 #5B8971 #7AA790 #9FBFAF

Accessibility & contrast

On white

3.99
#5B8971 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5B8971 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8971
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8971#FFFFFF#000000##000000
##5B89711.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#888270
Deuteranopia (green-blind)
#807D72
Tritanopia (blue-blind)
#518982
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b8971;
/* rgb */ color: rgb(91, 137, 113);
/* oklch */ color: oklch(59.0% 0.063 160.9);
Tailwind
colors: {
  custom: {
    50: '#8bab99',
    500: '#5b8971',
    950: '#000000',
  },
}
SCSS
$custom: #5b8971;
$custom-light: #8bab99;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8971",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 113
  },
  "hsl": {
    "h": 148.696,
    "s": 20.175,
    "l": 44.706
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.06257,
    "h": 160.9
  },
  "luminance": 0.21308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B8971

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

Preview Lab → · Contrast checker → · Palette generator →

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