#5C861B#5C861B

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

Color values

HEX#5C861B
RGBrgb(92, 134, 27)
HSLhsl(84, 66%, 32%)
HSVhsv(84, 80%, 53%)
CMYKcmyk(31.3%, 0%, 79.9%, 47.5%)
CIE-LABlab(51.16, -30.96, 48.81)
CIE-LCHlch(51.16, 57.80, 122.38°)
OKLaboklab(56.85% -0.0885 0.1079)
OKLCHoklch(56.85% 0.14 129.4)
XYZxyz(13.1365, 19.4043, 4.0900)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C861B #451B86
analogous
#867B1B #5C861B #27861B
triadic
#5C861B #1B5C86 #861B5C
tetradic
#5C861B #1B867B #451B86 #861B27
square
#5C861B #1B867B #451B86 #861B27
split-complementary
#5C861B #1B2786 #7B1B86
monochromatic
#162006 #395311 #5C861B #7FB925 #9ED942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C861B#FFFFFF#000000##000000
##5C861B1.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: #5c861b;
/* rgb */ color: rgb(92, 134, 27);
/* oklch */ color: oklch(56.9% 0.140 129.4);
Tailwind
colors: {
  custom: {
    50: '#8ea961',
    500: '#5c861b',
    950: '#000000',
  },
}
SCSS
$custom: #5c861b;
$custom-light: #8ea961;
$custom-dark: #000000;
JSON
{
  "hex": "#5c861b",
  "rgb": {
    "r": 92,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 83.551,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56851,
    "c": 0.13953,
    "h": 129.4
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#5C861B
secondary
#7244B9
accent
#3EE982
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C861B

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

Preview Lab → · Contrast checker → · Palette generator →

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