#5F9161#5F9161

#5F9161 is a mid, moderate green. Relative luminance 0.235; OKLCH L 60.8% C 0.090 H 145.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5F9161
RGBrgb(95, 145, 97)
HSLhsl(122, 21%, 47%)
HSVhsv(122, 34%, 57%)
CMYKcmyk(34.5%, 0%, 33.1%, 43.1%)
CIE-LABlab(55.63, -27.03, 20.31)
CIE-LCHlch(55.63, 33.81, 143.08°)
OKLaboklab(60.8% -0.0737 0.0511)
OKLCHoklch(60.8% 0.09 145.3)
XYZxyz(17.0016, 23.5459, 14.9559)
Luminance0.2355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9161 #915F8F
analogous
#76915F #5F9161 #5F917A
triadic
#5F9161 #615F91 #91615F
tetradic
#5F9161 #5F7691 #915F8F #917A5F
square
#5F9161 #5F7691 #915F8F #917A5F
split-complementary
#5F9161 #7A5F91 #915F76
monochromatic
#2F4730 #476C48 #5F9161 #81AC83 #A6C5A7

Accessibility & contrast

On white

3.68
#5F9161 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5F9161 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9161
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9161#FFFFFF#000000##000000
##5F91611.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93885E
Deuteranopia (green-blind)
#8B8364
Tritanopia (blue-blind)
#598E84
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f9161;
/* rgb */ color: rgb(95, 145, 97);
/* oklch */ color: oklch(60.8% 0.090 145.3);
Tailwind
colors: {
  custom: {
    50: '#8eb18e',
    500: '#5f9161',
    950: '#000000',
  },
}
SCSS
$custom: #5f9161;
$custom-light: #8eb18e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9161",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 97
  },
  "hsl": {
    "h": 122.4,
    "s": 20.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.08967,
    "h": 145.3
  },
  "luminance": 0.23547
}

Semantic roles & 50–950 ramp

primary
#5F9161
secondary
#B399B2
accent
#6ABABD
background
#F8FAF8
surface
#F0F5F0
border
#CBCFCB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5F9161

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

Preview Lab → · Contrast checker → · Palette generator →

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