#5C861C#5C861C

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

Color values

HEX#5C861C
RGBrgb(92, 134, 28)
HSLhsl(84, 65%, 32%)
HSVhsv(84, 79%, 53%)
CMYKcmyk(31.3%, 0%, 79.1%, 47.5%)
CIE-LABlab(51.16, -30.90, 48.48)
CIE-LCHlch(51.16, 57.49, 122.51°)
OKLaboklab(56.86% -0.0883 0.1074)
OKLCHoklch(56.86% 0.139 129.4)
XYZxyz(13.1483, 19.4090, 4.1519)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C861C #461C86
analogous
#867B1C #5C861C #27861C
triadic
#5C861C #1C5C86 #861C5C
tetradic
#5C861C #1C867B #461C86 #861C27
square
#5C861C #1C867B #461C86 #861C27
split-complementary
#5C861C #1C2786 #7B1C86
monochromatic
#162107 #395311 #5C861C #7FB927 #9ED844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5c861c;
/* rgb */ color: rgb(92, 134, 28);
/* oklch */ color: oklch(56.9% 0.139 129.4);
Tailwind
colors: {
  custom: {
    50: '#8ea961',
    500: '#5c861c',
    950: '#000000',
  },
}
SCSS
$custom: #5c861c;
$custom-light: #8ea961;
$custom-dark: #000000;
JSON
{
  "hex": "#5c861c",
  "rgb": {
    "r": 92,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 83.774,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56857,
    "c": 0.13899,
    "h": 129.4
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#5C861C
secondary
#7345B9
accent
#3FE882
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C861C

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

Preview Lab → · Contrast checker → · Palette generator →

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