#5F861D#5F861D

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

Color values

HEX#5F861D
RGBrgb(95, 134, 29)
HSLhsl(82, 64%, 32%)
HSVhsv(82, 78%, 53%)
CMYKcmyk(29.1%, 0%, 78.4%, 47.5%)
CIE-LABlab(51.35, -29.64, 48.38)
CIE-LCHlch(51.35, 56.74, 121.49°)
OKLaboklab(57.06% -0.085 0.1072)
OKLCHoklch(57.06% 0.137 128.4)
XYZxyz(13.4662, 19.5715, 4.2303)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F861D #441D86
analogous
#86791D #5F861D #2A861D
triadic
#5F861D #1D5F86 #861D5F
tetradic
#5F861D #1D8679 #441D86 #861D2A
square
#5F861D #1D8679 #441D86 #861D2A
split-complementary
#5F861D #1D2A86 #791D86
monochromatic
#182107 #3B5412 #5F861D #83B828 #A1D746

Accessibility & contrast

On white

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

On black

4.91
#5F861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F861D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F861D#FFFFFF#000000##000000
##5F861D1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C03
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#628072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f861d;
/* rgb */ color: rgb(95, 134, 29);
/* oklch */ color: oklch(57.1% 0.137 128.4);
Tailwind
colors: {
  custom: {
    50: '#90a962',
    500: '#5f861d',
    950: '#000000',
  },
}
SCSS
$custom: #5f861d;
$custom-light: #90a962;
$custom-dark: #000000;
JSON
{
  "hex": "#5f861d",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 82.286,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57059,
    "c": 0.13682,
    "h": 128.4
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#5F861D
secondary
#7146B9
accent
#40E77E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F861D

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

Preview Lab → · Contrast checker → · Palette generator →

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