#5F894E#5F894E

#5F894E is a mid, moderate green. Relative luminance 0.209; OKLCH L 58.4% C 0.098 H 137.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5F894E
RGBrgb(95, 137, 78)
HSLhsl(103, 27%, 42%)
HSVhsv(103, 43%, 54%)
CMYKcmyk(30.7%, 0%, 43.1%, 46.3%)
CIE-LABlab(52.81, -26.16, 27.09)
CIE-LCHlch(52.81, 37.66, 134.00°)
OKLaboklab(58.41% -0.0716 0.0664)
OKLCHoklch(58.41% 0.098 137.2)
XYZxyz(15.0397, 20.8737, 10.4429)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F894E #784E89
analogous
#7D894E #5F894E #4E895B
triadic
#5F894E #4E5F89 #894E5F
tetradic
#5F894E #4E7D89 #784E89 #895B4E
square
#5F894E #4E7D89 #784E89 #895B4E
split-complementary
#5F894E #5B4E89 #894E7D
monochromatic
#293B22 #446238 #5F894E #7DAA6A #9FC091

Accessibility & contrast

On white

4.06
#5F894E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5F894E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F894E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F894E#FFFFFF#000000##000000
##5F894E1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D804A
Deuteranopia (green-blind)
#867D51
Tritanopia (blue-blind)
#5E857B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f894e;
/* rgb */ color: rgb(95, 137, 78);
/* oklch */ color: oklch(58.4% 0.098 137.2);
Tailwind
colors: {
  custom: {
    50: '#8eab80',
    500: '#5f894e',
    950: '#000000',
  },
}
SCSS
$custom: #5f894e;
$custom-light: #8eab80;
$custom-dark: #000000;
JSON
{
  "hex": "#5f894e",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 78
  },
  "hsl": {
    "h": 102.712,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58412,
    "c": 0.0977,
    "h": 137.2
  },
  "luminance": 0.20874
}

Semantic roles & 50–950 ramp

primary
#5F894E
secondary
#A286AD
accent
#64C4A8
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5F894E

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

Preview Lab → · Contrast checker → · Palette generator →

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