#5B862F#5B862F

#5B862F is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.126 H 131.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5B862F
RGBrgb(91, 134, 47)
HSLhsl(90, 48%, 35%)
HSVhsv(90, 65%, 53%)
CMYKcmyk(32.1%, 0%, 64.9%, 47.5%)
CIE-LABlab(51.24, -29.92, 40.92)
CIE-LCHlch(51.24, 50.69, 126.17°)
OKLaboklab(56.95% -0.0839 0.0944)
OKLCHoklch(56.95% 0.126 131.7)
XYZxyz(13.3524, 19.4791, 5.7451)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B862F #5A2F86
analogous
#86852F #5B862F #30862F
triadic
#5B862F #2F5B86 #862F5B
tetradic
#5B862F #2F8685 #5A2F86 #862F30
square
#5B862F #2F8685 #5A2F86 #862F30
split-complementary
#5B862F #2F3086 #852F86
monochromatic
#1D2B0F #3C591F #5B862F #7AB33F #98C966

Accessibility & contrast

On white

4.29
#5B862F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5B862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B862F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B862F#FFFFFF#000000##000000
##5B862F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C24
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#5C8174
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b862f;
/* rgb */ color: rgb(91, 134, 47);
/* oklch */ color: oklch(57.0% 0.126 131.7);
Tailwind
colors: {
  custom: {
    50: '#8ca96c',
    500: '#5b862f',
    950: '#000000',
  },
}
SCSS
$custom: #5b862f;
$custom-light: #8ca96c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b862f",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 89.655,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.12628,
    "h": 131.7
  },
  "luminance": 0.1948
}

Semantic roles & 50–950 ramp

primary
#5B862F
secondary
#8860B0
accent
#50D893
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B862F

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

Preview Lab → · Contrast checker → · Palette generator →

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