#5F861B#5F861B

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

Color values

HEX#5F861B
RGBrgb(95, 134, 27)
HSLhsl(82, 66%, 32%)
HSVhsv(82, 80%, 53%)
CMYKcmyk(29.1%, 0%, 79.9%, 47.5%)
CIE-LABlab(51.34, -29.75, 49.04)
CIE-LCHlch(51.34, 57.36, 121.24°)
OKLaboklab(57.05% -0.0854 0.1083)
OKLCHoklch(57.05% 0.138 128.3)
XYZxyz(13.4422, 19.5619, 4.1043)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F861B #421B86
analogous
#86781B #5F861B #2A861B
triadic
#5F861B #1B5F86 #861B5F
tetradic
#5F861B #1B8678 #421B86 #861B2A
square
#5F861B #1B8678 #421B86 #861B2A
split-complementary
#5F861B #1B2A86 #781B86
monochromatic
#172006 #3B5311 #5F861B #83B925 #A2D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F861B#FFFFFF#000000##000000
##5F861B1.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)
#8D7C00
Deuteranopia (green-blind)
#887926
Tritanopia (blue-blind)
#628072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f861b;
/* rgb */ color: rgb(95, 134, 27);
/* oklch */ color: oklch(57.0% 0.138 128.3);
Tailwind
colors: {
  custom: {
    50: '#90a961',
    500: '#5f861b',
    950: '#000000',
  },
}
SCSS
$custom: #5f861b;
$custom-light: #90a961;
$custom-dark: #000000;
JSON
{
  "hex": "#5f861b",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 81.869,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57046,
    "c": 0.13792,
    "h": 128.3
  },
  "luminance": 0.19562
}

Semantic roles & 50–950 ramp

primary
#5F861B
secondary
#6E44B9
accent
#3EE97D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F861B

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

Preview Lab → · Contrast checker → · Palette generator →

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