#5B861D#5B861D

#5B861D is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.8% C 0.139 H 129.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5B861D
RGBrgb(91, 134, 29)
HSLhsl(85, 64%, 32%)
HSVhsv(85, 78%, 53%)
CMYKcmyk(32.1%, 0%, 78.4%, 47.5%)
CIE-LABlab(51.11, -31.24, 48.07)
CIE-LCHlch(51.11, 57.33, 123.02°)
OKLaboklab(56.8% -0.0891 0.1067)
OKLCHoklch(56.8% 0.139 129.9)
XYZxyz(13.0612, 19.3626, 4.2114)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B861D #481D86
analogous
#867C1D #5B861D #27861D
triadic
#5B861D #1D5B86 #861D5B
tetradic
#5B861D #1D867C #481D86 #861D27
square
#5B861D #1D867C #481D86 #861D27
split-complementary
#5B861D #1D2786 #7C1D86
monochromatic
#172107 #395412 #5B861D #7DB828 #9CD746

Accessibility & contrast

On white

4.31
#5B861D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5B861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B861D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B861D#FFFFFF#000000##000000
##5B861D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C03
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#5E8072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b861d;
/* rgb */ color: rgb(91, 134, 29);
/* oklch */ color: oklch(56.8% 0.139 129.9);
Tailwind
colors: {
  custom: {
    50: '#8da962',
    500: '#5b861d',
    950: '#000000',
  },
}
SCSS
$custom: #5b861d;
$custom-light: #8da962;
$custom-dark: #000000;
JSON
{
  "hex": "#5b861d",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 84.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.568,
    "c": 0.13898,
    "h": 129.9
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

primary
#5B861D
secondary
#7546B9
accent
#40E785
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1005
muted
#7D7F7A

Preview Lab

Preview with #5B861D

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

Preview Lab → · Contrast checker → · Palette generator →

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