#5F985F#5F985F

#5F985F is a light, moderate green. Relative luminance 0.257; OKLCH L 62.5% C 0.103 H 144.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5F985F
RGBrgb(95, 152, 95)
HSLhsl(120, 23%, 48%)
HSVhsv(120, 38%, 60%)
CMYKcmyk(37.5%, 0%, 37.5%, 40.4%)
CIE-LABlab(57.77, -30.76, 24.26)
CIE-LCHlch(57.77, 39.17, 141.73°)
OKLaboklab(62.52% -0.0838 0.0604)
OKLCHoklch(62.52% 0.103 144.2)
XYZxyz(18.0123, 25.7146, 14.8386)
Luminance0.2572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F985F #985F98
analogous
#7B985F #5F985F #5F987B
triadic
#5F985F #5F5F98 #985F5F
tetradic
#5F985F #5F7B98 #985F98 #987B5F
square
#5F985F #5F7B98 #985F98 #987B5F
split-complementary
#5F985F #7B5F98 #985F7B
monochromatic
#304D30 #477247 #5F985F #83B183 #A8C9A8

Accessibility & contrast

On white

3.42
#5F985F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#5F985F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F985F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F985F#FFFFFF#000000##000000
##5F985F1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8E5B
Deuteranopia (green-blind)
#928962
Tritanopia (blue-blind)
#59958A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f985f;
/* rgb */ color: rgb(95, 152, 95);
/* oklch */ color: oklch(62.5% 0.103 144.2);
Tailwind
colors: {
  custom: {
    50: '#8fb68d',
    500: '#5f985f',
    950: '#000000',
  },
}
SCSS
$custom: #5f985f;
$custom-light: #8fb68d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f985f",
  "rgb": {
    "r": 95,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 120,
    "s": 23.077,
    "l": 48.431
  },
  "oklch": {
    "l": 0.6252,
    "c": 0.10332,
    "h": 144.2
  },
  "luminance": 0.25716
}

Semantic roles & 50–950 ramp

primary
#5F985F
secondary
#B79CB7
accent
#68C0C0
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5F985F

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

Preview Lab → · Contrast checker → · Palette generator →

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