#5F8D4E#5F8D4E

#5F8D4E is a mid, moderate green. Relative luminance 0.220; OKLCH L 59.4% C 0.104 H 137.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5F8D4E
RGBrgb(95, 141, 78)
HSLhsl(104, 29%, 43%)
HSVhsv(104, 45%, 55%)
CMYKcmyk(32.6%, 0%, 44.7%, 44.7%)
CIE-LABlab(54.06, -28.12, 28.69)
CIE-LCHlch(54.06, 40.17, 134.43°)
OKLaboklab(59.42% -0.077 0.0701)
OKLCHoklch(59.42% 0.104 137.7)
XYZxyz(15.6189, 22.0321, 10.6359)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8D4E #7C4E8D
analogous
#7E8D4E #5F8D4E #4E8D5D
triadic
#5F8D4E #4E5F8D #8D4E5F
tetradic
#5F8D4E #4E7E8D #7C4E8D #8D5D4E
square
#5F8D4E #4E7E8D #7C4E8D #8D5D4E
split-complementary
#5F8D4E #5D4E8D #8D4E7E
monochromatic
#2A3E22 #446638 #5F8D4E #7DAD6B #A0C392

Accessibility & contrast

On white

3.88
#5F8D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5F8D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8D4E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8D4E#FFFFFF#000000##000000
##5F8D4E1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#8A8052
Tritanopia (blue-blind)
#5D897E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f8d4e;
/* rgb */ color: rgb(95, 141, 78);
/* oklch */ color: oklch(59.4% 0.104 137.7);
Tailwind
colors: {
  custom: {
    50: '#8eae80',
    500: '#5f8d4e',
    950: '#000000',
  },
}
SCSS
$custom: #5f8d4e;
$custom-light: #8eae80;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8d4e",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 103.81,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.10414,
    "h": 137.7
  },
  "luminance": 0.22033
}

Semantic roles & 50–950 ramp

primary
#5F8D4E
secondary
#A587AF
accent
#63C5AB
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5F8D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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