#5C861D#5C861D

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

Color values

HEX#5C861D
RGBrgb(92, 134, 29)
HSLhsl(84, 64%, 32%)
HSVhsv(84, 78%, 53%)
CMYKcmyk(31.3%, 0%, 78.4%, 47.5%)
CIE-LABlab(51.17, -30.85, 48.14)
CIE-LCHlch(51.17, 57.18, 122.65°)
OKLaboklab(56.86% -0.088 0.1068)
OKLCHoklch(56.86% 0.138 129.5)
XYZxyz(13.1605, 19.4138, 4.2160)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C861D #471D86
analogous
#867C1D #5C861D #28861D
triadic
#5C861D #1D5C86 #861D5C
tetradic
#5C861D #1D867C #471D86 #861D28
square
#5C861D #1D867C #471D86 #861D28
split-complementary
#5C861D #1D2886 #7C1D86
monochromatic
#172107 #395412 #5C861D #7FB828 #9DD746

Accessibility & contrast

On white

4.30
#5C861D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5C861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C861D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C861D#FFFFFF#000000##000000
##5C861D1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C03
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#5F8072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5c861d;
/* rgb */ color: rgb(92, 134, 29);
/* oklch */ color: oklch(56.9% 0.138 129.5);
Tailwind
colors: {
  custom: {
    50: '#8ea962',
    500: '#5c861d',
    950: '#000000',
  },
}
SCSS
$custom: #5c861d;
$custom-light: #8ea962;
$custom-dark: #000000;
JSON
{
  "hex": "#5c861d",
  "rgb": {
    "r": 92,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 84,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.13843,
    "h": 129.5
  },
  "luminance": 0.19414
}

Semantic roles & 50–950 ramp

primary
#5C861D
secondary
#7446B9
accent
#40E783
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C861D

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

Preview Lab → · Contrast checker → · Palette generator →

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