#5C851D#5C851D

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

Color values

HEX#5C851D
RGBrgb(92, 133, 29)
HSLhsl(84, 64%, 32%)
HSVhsv(84, 78%, 52%)
CMYKcmyk(30.8%, 0%, 78.2%, 47.8%)
CIE-LABlab(50.85, -30.38, 47.84)
CIE-LCHlch(50.85, 56.67, 122.41°)
OKLaboklab(56.6% -0.0868 0.1062)
OKLCHoklch(56.6% 0.137 129.3)
XYZxyz(13.0229, 19.1387, 4.1702)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C851D #461D85
analogous
#857A1D #5C851D #28851D
triadic
#5C851D #1D5C85 #851D5C
tetradic
#5C851D #1D857A #461D85 #851D28
square
#5C851D #1D857A #461D85 #851D28
split-complementary
#5C851D #1D2885 #7A1D85
monochromatic
#162107 #395312 #5C851D #7FB728 #9ED746

Accessibility & contrast

On white

4.35
#5C851D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5C851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C851D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C851D#FFFFFF#000000##000000
##5C851D1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B04
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#5F7F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c851d;
/* rgb */ color: rgb(92, 133, 29);
/* oklch */ color: oklch(56.6% 0.137 129.3);
Tailwind
colors: {
  custom: {
    50: '#8ea862',
    500: '#5c851d',
    950: '#000000',
  },
}
SCSS
$custom: #5c851d;
$custom-light: #8ea862;
$custom-dark: #000000;
JSON
{
  "hex": "#5c851d",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 83.654,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.13713,
    "h": 129.3
  },
  "luminance": 0.19139
}

Semantic roles & 50–950 ramp

primary
#5C851D
secondary
#7346B8
accent
#41E782
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C851D

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

Preview Lab → · Contrast checker → · Palette generator →

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