#5B861E#5B861E

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

Color values

HEX#5B861E
RGBrgb(91, 134, 30)
HSLhsl(85, 63%, 32%)
HSVhsv(85, 78%, 53%)
CMYKcmyk(32.1%, 0%, 77.6%, 47.5%)
CIE-LABlab(51.11, -31.19, 47.73)
CIE-LCHlch(51.11, 57.01, 123.16°)
OKLaboklab(56.81% -0.0888 0.1061)
OKLCHoklch(56.81% 0.138 129.9)
XYZxyz(13.0738, 19.3677, 4.2776)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B861E #491E86
analogous
#867D1E #5B861E #27861E
triadic
#5B861E #1E5B86 #861E5B
tetradic
#5B861E #1E867D #491E86 #861E27
square
#5B861E #1E867D #491E86 #861E27
split-complementary
#5B861E #1E2786 #7D1E86
monochromatic
#172208 #395413 #5B861E #7DB829 #9BD648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B861E#FFFFFF#000000##000000
##5B861E1.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)
#8C7C06
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#5E8072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b861e;
/* rgb */ color: rgb(91, 134, 30);
/* oklch */ color: oklch(56.8% 0.138 129.9);
Tailwind
colors: {
  custom: {
    50: '#8da962',
    500: '#5b861e',
    950: '#000000',
  },
}
SCSS
$custom: #5b861e;
$custom-light: #8da962;
$custom-dark: #000000;
JSON
{
  "hex": "#5b861e",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 84.808,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56806,
    "c": 0.13839,
    "h": 129.9
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#5B861E
secondary
#7647B8
accent
#41E686
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5B861E

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

Preview Lab → · Contrast checker → · Palette generator →

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