#5B862E#5B862E

#5B862E is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.9% C 0.127 H 131.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5B862E
RGBrgb(91, 134, 46)
HSLhsl(89, 49%, 35%)
HSVhsv(89, 66%, 53%)
CMYKcmyk(32.1%, 0%, 65.7%, 47.5%)
CIE-LABlab(51.23, -30.01, 41.37)
CIE-LCHlch(51.23, 51.10, 125.96°)
OKLaboklab(56.94% -0.0843 0.0952)
OKLCHoklch(56.94% 0.127 131.5)
XYZxyz(13.3325, 19.4712, 5.6401)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B862E #592E86
analogous
#86852E #5B862E #2F862E
triadic
#5B862E #2E5B86 #862E5B
tetradic
#5B862E #2E8685 #592E86 #862E2F
square
#5B862E #2E8685 #592E86 #862E2F
split-complementary
#5B862E #2E2F86 #852E86
monochromatic
#1D2B0F #3C581E #5B862E #7AB43E #98CA64

Accessibility & contrast

On white

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

On black

4.89
#5B862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B862E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B862E#FFFFFF#000000##000000
##5B862E1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b862e;
/* rgb */ color: rgb(91, 134, 46);
/* oklch */ color: oklch(56.9% 0.127 131.5);
Tailwind
colors: {
  custom: {
    50: '#8da96b',
    500: '#5b862e',
    950: '#000000',
  },
}
SCSS
$custom: #5b862e;
$custom-light: #8da96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b862e",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 89.318,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.12711,
    "h": 131.5
  },
  "luminance": 0.19472
}

Semantic roles & 50–950 ramp

primary
#5B862E
secondary
#875FB1
accent
#4FD892
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B862E

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

Preview Lab → · Contrast checker → · Palette generator →

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