#5F8D71#5F8D71

#5F8D71 is a mid, moderate green. Relative luminance 0.227; OKLCH L 60.2% C 0.066 H 157.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5F8D71
RGBrgb(95, 141, 113)
HSLhsl(143, 19%, 46%)
HSVhsv(143, 33%, 55%)
CMYKcmyk(32.6%, 0%, 19.9%, 44.7%)
CIE-LABlab(54.74, -21.95, 10.02)
CIE-LCHlch(54.74, 24.13, 155.46°)
OKLaboklab(60.19% -0.0608 0.0258)
OKLCHoklch(60.19% 0.066 157)
XYZxyz(17.2238, 22.6741, 19.0886)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8D71 #8D5F7B
analogous
#648D5F #5F8D71 #5F8D88
triadic
#5F8D71 #715F8D #8D715F
tetradic
#5F8D71 #5F648D #8D5F7B #8D885F
square
#5F8D71 #5F648D #8D5F7B #8D885F
split-complementary
#5F8D71 #885F8D #8D5F64
monochromatic
#2E4436 #466854 #5F8D71 #80A990 #A4C2B0

Accessibility & contrast

On white

3.79
#5F8D71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5F8D71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8D71
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8D71#FFFFFF#000000##000000
##5F8D711.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C866F
Deuteranopia (green-blind)
#858173
Tritanopia (blue-blind)
#568C85
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f8d71;
/* rgb */ color: rgb(95, 141, 113);
/* oklch */ color: oklch(60.2% 0.066 157.0);
Tailwind
colors: {
  custom: {
    50: '#8eae99',
    500: '#5f8d71',
    950: '#000000',
  },
}
SCSS
$custom: #5f8d71;
$custom-light: #8eae99;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8d71",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 113
  },
  "hsl": {
    "h": 143.478,
    "s": 19.492,
    "l": 46.275
  },
  "oklch": {
    "l": 0.6019,
    "c": 0.06606,
    "h": 157
  },
  "luminance": 0.22675
}

Semantic roles & 50–950 ramp

primary
#5F8D71
secondary
#B097A7
accent
#6C9DBC
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C100E
muted
#7D7F7E

Preview Lab

Preview with #5F8D71

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

Preview Lab → · Contrast checker → · Palette generator →

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