#5F8D64#5F8D64

#5F8D64 is a mid, moderate green. Relative luminance 0.224; OKLCH L 59.9% C 0.080 H 147.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5F8D64
RGBrgb(95, 141, 100)
HSLhsl(127, 19%, 46%)
HSVhsv(127, 33%, 55%)
CMYKcmyk(32.6%, 0%, 29.1%, 44.7%)
CIE-LABlab(54.45, -24.50, 17.02)
CIE-LCHlch(54.45, 29.83, 145.20°)
OKLaboklab(59.87% -0.0669 0.0431)
OKLCHoklch(59.87% 0.08 147.2)
XYZxyz(16.5437, 22.4020, 15.5064)
Luminance0.2240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8D64 #8D5F88
analogous
#718D5F #5F8D64 #5F8D7B
triadic
#5F8D64 #645F8D #8D645F
tetradic
#5F8D64 #5F718D #8D5F88 #8D7B5F
square
#5F8D64 #5F718D #8D5F88 #8D7B5F
split-complementary
#5F8D64 #7B5F8D #8D5F71
monochromatic
#2E4430 #46684A #5F8D64 #80A984 #A4C2A8

Accessibility & contrast

On white

3.83
#5F8D64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5F8D64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8D64
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8D64#FFFFFF#000000##000000
##5F8D641.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8561
Deuteranopia (green-blind)
#878066
Tritanopia (blue-blind)
#598B82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f8d64;
/* rgb */ color: rgb(95, 141, 100);
/* oklch */ color: oklch(59.9% 0.080 147.2);
Tailwind
colors: {
  custom: {
    50: '#8eae90',
    500: '#5f8d64',
    950: '#000000',
  },
}
SCSS
$custom: #5f8d64;
$custom-light: #8eae90;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8d64",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 100
  },
  "hsl": {
    "h": 126.522,
    "s": 19.492,
    "l": 46.275
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.07964,
    "h": 147.2
  },
  "luminance": 0.22403
}

Semantic roles & 50–950 ramp

primary
#5F8D64
secondary
#B097AE
accent
#6CB3BC
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5F8D64

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

Preview Lab → · Contrast checker → · Palette generator →

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