#5C861A#5C861A

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

Color values

HEX#5C861A
RGBrgb(92, 134, 26)
HSLhsl(83, 68%, 31%)
HSVhsv(83, 81%, 53%)
CMYKcmyk(31.3%, 0%, 80.6%, 47.5%)
CIE-LABlab(51.15, -31.01, 49.13)
CIE-LCHlch(51.15, 58.09, 122.26°)
OKLaboklab(56.85% -0.0887 0.1084)
OKLCHoklch(56.85% 0.14 129.3)
XYZxyz(13.1252, 19.3997, 4.0301)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C861A #441A86
analogous
#867A1A #5C861A #26861A
triadic
#5C861A #1A5C86 #861A5C
tetradic
#5C861A #1A867A #441A86 #861A26
square
#5C861A #1A867A #441A86 #861A26
split-complementary
#5C861A #1A2686 #7A1A86
monochromatic
#161F06 #395310 #5C861A #7FB924 #9EDA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5c861a;
/* rgb */ color: rgb(92, 134, 26);
/* oklch */ color: oklch(56.8% 0.140 129.3);
Tailwind
colors: {
  custom: {
    50: '#8ea961',
    500: '#5c861a',
    950: '#000000',
  },
}
SCSS
$custom: #5c861a;
$custom-light: #8ea961;
$custom-dark: #000000;
JSON
{
  "hex": "#5c861a",
  "rgb": {
    "r": 92,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 83.333,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.14006,
    "h": 129.3
  },
  "luminance": 0.194
}

Semantic roles & 50–950 ramp

primary
#5C861A
secondary
#7142B9
accent
#3DEA81
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C861A

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

Preview Lab → · Contrast checker → · Palette generator →

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