#5F861F#5F861F

#5F861F is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.1% C 0.136 H 128.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5F861F
RGBrgb(95, 134, 31)
HSLhsl(83, 62%, 32%)
HSVhsv(83, 77%, 53%)
CMYKcmyk(29.1%, 0%, 76.9%, 47.5%)
CIE-LABlab(51.36, -29.53, 47.69)
CIE-LCHlch(51.36, 56.09, 121.76°)
OKLaboklab(57.07% -0.0845 0.1061)
OKLCHoklch(57.07% 0.136 128.5)
XYZxyz(13.4917, 19.5817, 4.3649)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F861F #461F86
analogous
#86791F #5F861F #2C861F
triadic
#5F861F #1F5F86 #861F5F
tetradic
#5F861F #1F8679 #461F86 #861F2C
square
#5F861F #1F8679 #461F86 #861F2C
split-complementary
#5F861F #1F2C86 #791F86
monochromatic
#192308 #3C5414 #5F861F #82B82A #A1D54A

Accessibility & contrast

On white

4.27
#5F861F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5F861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F861F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F861F#FFFFFF#000000##000000
##5F861F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C08
Deuteranopia (green-blind)
#877A29
Tritanopia (blue-blind)
#628072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f861f;
/* rgb */ color: rgb(95, 134, 31);
/* oklch */ color: oklch(57.1% 0.136 128.5);
Tailwind
colors: {
  custom: {
    50: '#90a963',
    500: '#5f861f',
    950: '#000000',
  },
}
SCSS
$custom: #5f861f;
$custom-light: #90a963;
$custom-dark: #000000;
JSON
{
  "hex": "#5f861f",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 82.718,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.13565,
    "h": 128.5
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#5F861F
secondary
#7349B8
accent
#42E580
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F861F

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

Preview Lab → · Contrast checker → · Palette generator →

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