#5D861C#5D861C

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

Color values

HEX#5D861C
RGBrgb(93, 134, 28)
HSLhsl(83, 65%, 32%)
HSVhsv(83, 79%, 53%)
CMYKcmyk(30.6%, 0%, 79.1%, 47.5%)
CIE-LABlab(51.22, -30.50, 48.56)
CIE-LCHlch(51.22, 57.34, 122.14°)
OKLaboklab(56.92% -0.0873 0.1075)
OKLCHoklch(56.92% 0.138 129.1)
XYZxyz(13.2489, 19.4608, 4.1567)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D861C #451C86
analogous
#867A1C #5D861C #28861C
triadic
#5D861C #1C5D86 #861C5D
tetradic
#5D861C #1C867A #451C86 #861C28
square
#5D861C #1C867A #451C86 #861C28
split-complementary
#5D861C #1C2886 #7A1C86
monochromatic
#172107 #3A5311 #5D861C #80B927 #9FD844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D861C#FFFFFF#000000##000000
##5D861C1.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)
#8D7C01
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#608072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d861c;
/* rgb */ color: rgb(93, 134, 28);
/* oklch */ color: oklch(56.9% 0.138 129.1);
Tailwind
colors: {
  custom: {
    50: '#8fa961',
    500: '#5d861c',
    950: '#000000',
  },
}
SCSS
$custom: #5d861c;
$custom-light: #8fa961;
$custom-dark: #000000;
JSON
{
  "hex": "#5d861c",
  "rgb": {
    "r": 93,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 83.208,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.13845,
    "h": 129.1
  },
  "luminance": 0.19461
}

Semantic roles & 50–950 ramp

primary
#5D861C
secondary
#7245B9
accent
#3FE881
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D861C

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

Preview Lab → · Contrast checker → · Palette generator →

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