#5D861B#5D861B

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

Color values

HEX#5D861B
RGBrgb(93, 134, 27)
HSLhsl(83, 66%, 32%)
HSVhsv(83, 80%, 53%)
CMYKcmyk(30.6%, 0%, 79.9%, 47.5%)
CIE-LABlab(51.22, -30.55, 48.88)
CIE-LCHlch(51.22, 57.65, 122.01°)
OKLaboklab(56.92% -0.0875 0.108)
OKLCHoklch(56.92% 0.139 129)
XYZxyz(13.2371, 19.4561, 4.0947)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D861B #441B86
analogous
#867A1B #5D861B #27861B
triadic
#5D861B #1B5D86 #861B5D
tetradic
#5D861B #1B867A #441B86 #861B27
square
#5D861B #1B867A #441B86 #861B27
split-complementary
#5D861B #1B2786 #7A1B86
monochromatic
#162006 #3A5311 #5D861B #80B925 #9FD942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D861B#FFFFFF#000000##000000
##5D861B1.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)
#8D7C00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#608072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d861b;
/* rgb */ color: rgb(93, 134, 27);
/* oklch */ color: oklch(56.9% 0.139 129.0);
Tailwind
colors: {
  custom: {
    50: '#8fa961',
    500: '#5d861b',
    950: '#000000',
  },
}
SCSS
$custom: #5d861b;
$custom-light: #8fa961;
$custom-dark: #000000;
JSON
{
  "hex": "#5d861b",
  "rgb": {
    "r": 93,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 82.991,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.13899,
    "h": 129
  },
  "luminance": 0.19456
}

Semantic roles & 50–950 ramp

primary
#5D861B
secondary
#7144B9
accent
#3EE980
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D861B

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

Preview Lab → · Contrast checker → · Palette generator →

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