#5B891D#5B891D

#5B891D is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.6% C 0.143 H 130.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5B891D
RGBrgb(91, 137, 29)
HSLhsl(86, 65%, 33%)
HSVhsv(86, 79%, 54%)
CMYKcmyk(33.6%, 0%, 78.8%, 46.3%)
CIE-LABlab(52.07, -32.63, 48.98)
CIE-LCHlch(52.07, 58.85, 123.67°)
OKLaboklab(57.58% -0.0928 0.1086)
OKLCHoklch(57.58% 0.143 130.5)
XYZxyz(13.4817, 20.2037, 4.3515)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B891D #4B1D89
analogous
#89811D #5B891D #25891D
triadic
#5B891D #1D5B89 #891D5B
tetradic
#5B891D #1D8981 #4B1D89 #891D25
square
#5B891D #1D8981 #4B1D89 #891D25
split-complementary
#5B891D #1D2589 #811D89
monochromatic
#182408 #395612 #5B891D #7DBC28 #9BD848

Accessibility & contrast

On white

4.17
#5B891D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5B891D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B891D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B891D#FFFFFF#000000##000000
##5B891D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E02
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#5D8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b891d;
/* rgb */ color: rgb(91, 137, 29);
/* oklch */ color: oklch(57.6% 0.143 130.5);
Tailwind
colors: {
  custom: {
    50: '#8eab62',
    500: '#5b891d',
    950: '#000000',
  },
}
SCSS
$custom: #5b891d;
$custom-light: #8eab62;
$custom-dark: #000000;
JSON
{
  "hex": "#5b891d",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 85.556,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.14286,
    "h": 130.5
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#5B891D
secondary
#7847BA
accent
#40E887
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B891D

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

Preview Lab → · Contrast checker → · Palette generator →

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