#5F896D#5F896D

#5F896D is a mid, moderate green. Relative luminance 0.214; OKLCH L 59.1% C 0.063 H 154.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5F896D
RGBrgb(95, 137, 109)
HSLhsl(140, 18%, 45%)
HSVhsv(140, 31%, 54%)
CMYKcmyk(30.7%, 0%, 20.4%, 46.3%)
CIE-LABlab(53.41, -20.70, 10.45)
CIE-LCHlch(53.41, 23.19, 153.21°)
OKLaboklab(59.1% -0.0572 0.0269)
OKLCHoklch(59.1% 0.063 154.8)
XYZxyz(16.4244, 21.4276, 17.7356)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F896D #895F7B
analogous
#66895F #5F896D #5F8982
triadic
#5F896D #6D5F89 #896D5F
tetradic
#5F896D #5F6689 #895F7B #89825F
square
#5F896D #5F6689 #895F7B #89825F
split-complementary
#5F896D #825F89 #895F66
monochromatic
#2D4133 #466550 #5F896D #7FA68C #A3BFAD

Accessibility & contrast

On white

3.97
#5F896D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5F896D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F896D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F896D#FFFFFF#000000##000000
##5F896D1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89826B
Deuteranopia (green-blind)
#827E6F
Tritanopia (blue-blind)
#588881
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f896d;
/* rgb */ color: rgb(95, 137, 109);
/* oklch */ color: oklch(59.1% 0.063 154.8);
Tailwind
colors: {
  custom: {
    50: '#8dab96',
    500: '#5f896d',
    950: '#000000',
  },
}
SCSS
$custom: #5f896d;
$custom-light: #8dab96;
$custom-dark: #000000;
JSON
{
  "hex": "#5f896d",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 109
  },
  "hsl": {
    "h": 140,
    "s": 18.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.59097,
    "c": 0.06321,
    "h": 154.8
  },
  "luminance": 0.21428
}

Semantic roles & 50–950 ramp

primary
#5F896D
secondary
#AE96A6
accent
#6DA1BB
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C100D
muted
#7D7F7E

Preview Lab

Preview with #5F896D

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

Preview Lab → · Contrast checker → · Palette generator →

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