#5F9371#5F9371

#5F9371 is a mid, moderate green. Relative luminance 0.245; OKLCH L 61.7% C 0.076 H 154.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5F9371
RGBrgb(95, 147, 113)
HSLhsl(141, 21%, 47%)
HSVhsv(141, 35%, 58%)
CMYKcmyk(35.4%, 0%, 23.1%, 42.4%)
CIE-LABlab(56.58, -25.00, 12.61)
CIE-LCHlch(56.58, 28.00, 153.23°)
OKLaboklab(61.68% -0.0689 0.0323)
OKLCHoklch(61.68% 0.076 154.9)
XYZxyz(18.1326, 24.4916, 19.3915)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9371 #935F81
analogous
#67935F #5F9371 #5F938B
triadic
#5F9371 #715F93 #93715F
tetradic
#5F9371 #5F6793 #935F81 #938B5F
square
#5F9371 #5F6793 #935F81 #938B5F
split-complementary
#5F9371 #8B5F93 #935F67
monochromatic
#2F4938 #476E54 #5F9371 #81AE91 #A7C6B1

Accessibility & contrast

On white

3.56
#5F9371 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5F9371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9371
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9371#FFFFFF#000000##000000
##5F93711.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938B6F
Deuteranopia (green-blind)
#8A8573
Tritanopia (blue-blind)
#55928A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f9371;
/* rgb */ color: rgb(95, 147, 113);
/* oklch */ color: oklch(61.7% 0.076 154.9);
Tailwind
colors: {
  custom: {
    50: '#8eb39a',
    500: '#5f9371',
    950: '#000000',
  },
}
SCSS
$custom: #5f9371;
$custom-light: #8eb39a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9371",
  "rgb": {
    "r": 95,
    "g": 147,
    "b": 113
  },
  "hsl": {
    "h": 140.769,
    "s": 21.488,
    "l": 47.451
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.07607,
    "h": 154.9
  },
  "luminance": 0.24493
}

Semantic roles & 50–950 ramp

primary
#5F9371
secondary
#B49AAB
accent
#6AA1BE
background
#F8FBF9
surface
#F0F6F2
border
#CBD0CC
text
#0C110E
muted
#7D807E

Preview Lab

Preview with #5F9371

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

Preview Lab → · Contrast checker → · Palette generator →

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