#5F861E#5F861E

#5F861E 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#5F861E
RGBrgb(95, 134, 30)
HSLhsl(83, 63%, 32%)
HSVhsv(83, 78%, 53%)
CMYKcmyk(29.1%, 0%, 77.6%, 47.5%)
CIE-LABlab(51.35, -29.58, 48.04)
CIE-LCHlch(51.35, 56.42, 121.63°)
OKLaboklab(57.07% -0.0847 0.1067)
OKLCHoklch(57.07% 0.136 128.5)
XYZxyz(13.4788, 19.5765, 4.2965)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F861E #451E86
analogous
#86791E #5F861E #2B861E
triadic
#5F861E #1E5F86 #861E5F
tetradic
#5F861E #1E8679 #451E86 #861E2B
square
#5F861E #1E8679 #451E86 #861E2B
split-complementary
#5F861E #1E2B86 #791E86
monochromatic
#182208 #3C5413 #5F861E #82B829 #A1D648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F861E#FFFFFF#000000##000000
##5F861E1.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)
#8D7C06
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#628072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f861e;
/* rgb */ color: rgb(95, 134, 30);
/* oklch */ color: oklch(57.1% 0.136 128.5);
Tailwind
colors: {
  custom: {
    50: '#90a962',
    500: '#5f861e',
    950: '#000000',
  },
}
SCSS
$custom: #5f861e;
$custom-light: #90a962;
$custom-dark: #000000;
JSON
{
  "hex": "#5f861e",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 82.5,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.13625,
    "h": 128.5
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#5F861E
secondary
#7247B8
accent
#41E67F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F861E

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

Preview Lab → · Contrast checker → · Palette generator →

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