#5D861F#5D861F

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

Color values

HEX#5D861F
RGBrgb(93, 134, 31)
HSLhsl(84, 62%, 32%)
HSVhsv(84, 77%, 53%)
CMYKcmyk(30.6%, 0%, 76.9%, 47.5%)
CIE-LABlab(51.24, -30.33, 47.53)
CIE-LCHlch(51.24, 56.38, 122.54°)
OKLaboklab(56.94% -0.0866 0.1058)
OKLCHoklch(56.94% 0.137 129.3)
XYZxyz(13.2866, 19.4759, 4.3553)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D861F #481F86
analogous
#867B1F #5D861F #2A861F
triadic
#5D861F #1F5D86 #861F5D
tetradic
#5D861F #1F867B #481F86 #861F2A
square
#5D861F #1F867B #481F86 #861F2A
split-complementary
#5D861F #1F2A86 #7B1F86
monochromatic
#182308 #3B5414 #5D861F #7FB82A #9ED54A

Accessibility & contrast

On white

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

On black

4.90
#5D861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D861F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D861F#FFFFFF#000000##000000
##5D861F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C08
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#608072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d861f;
/* rgb */ color: rgb(93, 134, 31);
/* oklch */ color: oklch(56.9% 0.137 129.3);
Tailwind
colors: {
  custom: {
    50: '#8fa963',
    500: '#5d861f',
    950: '#000000',
  },
}
SCSS
$custom: #5d861f;
$custom-light: #8fa963;
$custom-dark: #000000;
JSON
{
  "hex": "#5d861f",
  "rgb": {
    "r": 93,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 83.883,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56941,
    "c": 0.13673,
    "h": 129.3
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#5D861F
secondary
#7549B8
accent
#42E583
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D861F

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

Preview Lab → · Contrast checker → · Palette generator →

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