#5B861C#5B861C

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

Color values

HEX#5B861C
RGBrgb(91, 134, 28)
HSLhsl(84, 65%, 32%)
HSVhsv(84, 79%, 53%)
CMYKcmyk(32.1%, 0%, 79.1%, 47.5%)
CIE-LABlab(51.10, -31.30, 48.40)
CIE-LCHlch(51.10, 57.64, 122.89°)
OKLaboklab(56.79% -0.0893 0.1072)
OKLCHoklch(56.79% 0.14 129.8)
XYZxyz(13.0490, 19.3578, 4.1473)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B861C #471C86
analogous
#867C1C #5B861C #26861C
triadic
#5B861C #1C5B86 #861C5B
tetradic
#5B861C #1C867C #471C86 #861C26
square
#5B861C #1C867C #471C86 #861C26
split-complementary
#5B861C #1C2686 #7C1C86
monochromatic
#162107 #395311 #5B861C #7DB927 #9CD844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B861C#FFFFFF#000000##000000
##5B861C1.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)
#8D7C01
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#5E8072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b861c;
/* rgb */ color: rgb(91, 134, 28);
/* oklch */ color: oklch(56.8% 0.140 129.8);
Tailwind
colors: {
  custom: {
    50: '#8da961',
    500: '#5b861c',
    950: '#000000',
  },
}
SCSS
$custom: #5b861c;
$custom-light: #8da961;
$custom-dark: #000000;
JSON
{
  "hex": "#5b861c",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 84.34,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.13953,
    "h": 129.8
  },
  "luminance": 0.19358
}

Semantic roles & 50–950 ramp

primary
#5B861C
secondary
#7445B9
accent
#3FE884
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B861C

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

Preview Lab → · Contrast checker → · Palette generator →

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