#5F8F4E#5F8F4E

#5F8F4E is a mid, moderate green. Relative luminance 0.226; OKLCH L 59.9% C 0.107 H 137.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5F8F4E
RGBrgb(95, 143, 78)
HSLhsl(104, 29%, 43%)
HSVhsv(104, 45%, 56%)
CMYKcmyk(33.6%, 0%, 45.5%, 43.9%)
CIE-LABlab(54.69, -29.09, 29.48)
CIE-LCHlch(54.69, 41.41, 134.62°)
OKLaboklab(59.93% -0.0797 0.0719)
OKLCHoklch(59.93% 0.107 137.9)
XYZxyz(15.9164, 22.6272, 10.7351)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8F4E #7E4E8F
analogous
#7F8F4E #5F8F4E #4E8F5D
triadic
#5F8F4E #4E5F8F #8F4E5F
tetradic
#5F8F4E #4E7F8F #7E4E8F #8F5D4E
square
#5F8F4E #4E7F8F #7E4E8F #8F5D4E
split-complementary
#5F8F4E #5D4E8F #8F4E7F
monochromatic
#2A4023 #456738 #5F8F4E #7DAF6C #A0C493

Accessibility & contrast

On white

3.80
#5F8F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8F4E#FFFFFF#000000##000000
##5F8F4E1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938649
Deuteranopia (green-blind)
#8C8152
Tritanopia (blue-blind)
#5D8B7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f8f4e;
/* rgb */ color: rgb(95, 143, 78);
/* oklch */ color: oklch(59.9% 0.107 137.9);
Tailwind
colors: {
  custom: {
    50: '#8eb080',
    500: '#5f8f4e',
    950: '#000000',
  },
}
SCSS
$custom: #5f8f4e;
$custom-light: #8eb080;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8f4e",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 104.308,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59932,
    "c": 0.10732,
    "h": 137.9
  },
  "luminance": 0.22628
}

Semantic roles & 50–950 ramp

primary
#5F8F4E
secondary
#A688B1
accent
#62C6AC
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5F8F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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