#5B862D#5B862D

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

Color values

HEX#5B862D
RGBrgb(91, 134, 45)
HSLhsl(89, 50%, 35%)
HSVhsv(89, 66%, 53%)
CMYKcmyk(32.1%, 0%, 66.4%, 47.5%)
CIE-LABlab(51.23, -30.10, 41.81)
CIE-LCHlch(51.23, 51.51, 125.75°)
OKLaboklab(56.93% -0.0846 0.096)
OKLCHoklch(56.93% 0.128 131.4)
XYZxyz(13.3130, 19.4634, 5.5375)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B862D #582D86
analogous
#86852D #5B862D #2E862D
triadic
#5B862D #2D5B86 #862D5B
tetradic
#5B862D #2D8685 #582D86 #862D2E
square
#5B862D #2D8685 #582D86 #862D2E
split-complementary
#5B862D #2D2E86 #852D86
monochromatic
#1D2A0E #3C581E #5B862D #7AB43C #98CB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B862D#FFFFFF#000000##000000
##5B862D1.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)
#8C7C22
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#5D8074
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b862d;
/* rgb */ color: rgb(91, 134, 45);
/* oklch */ color: oklch(56.9% 0.128 131.4);
Tailwind
colors: {
  custom: {
    50: '#8da96a',
    500: '#5b862d',
    950: '#000000',
  },
}
SCSS
$custom: #5b862d;
$custom-light: #8da96a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b862d",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 88.989,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56931,
    "c": 0.12793,
    "h": 131.4
  },
  "luminance": 0.19464
}

Semantic roles & 50–950 ramp

primary
#5B862D
secondary
#865EB1
accent
#4FD992
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B862D

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

Preview Lab → · Contrast checker → · Palette generator →

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