#5C841D#5C841D

#5C841D is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.3% C 0.136 H 129.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5C841D
RGBrgb(92, 132, 29)
HSLhsl(83, 64%, 32%)
HSVhsv(83, 78%, 52%)
CMYKcmyk(30.3%, 0%, 78%, 48.2%)
CIE-LABlab(50.53, -29.90, 47.54)
CIE-LCHlch(50.53, 56.16, 122.17°)
OKLaboklab(56.34% -0.0855 0.1055)
OKLCHoklch(56.34% 0.136 129)
XYZxyz(12.8866, 18.8662, 4.1247)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C841D #451D84
analogous
#84791D #5C841D #29841D
triadic
#5C841D #1D5C84 #841D5C
tetradic
#5C841D #1D8479 #451D84 #841D29
square
#5C841D #1D8479 #451D84 #841D29
split-complementary
#5C841D #1D2984 #791D84
monochromatic
#162007 #395212 #5C841D #7FB628 #9ED645

Accessibility & contrast

On white

4.40
#5C841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5C841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C841D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C841D#FFFFFF#000000##000000
##5C841D1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A05
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#5F7E71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5c841d;
/* rgb */ color: rgb(92, 132, 29);
/* oklch */ color: oklch(56.3% 0.136 129.0);
Tailwind
colors: {
  custom: {
    50: '#8ea862',
    500: '#5c841d',
    950: '#000000',
  },
}
SCSS
$custom: #5c841d;
$custom-light: #8ea862;
$custom-dark: #000000;
JSON
{
  "hex": "#5c841d",
  "rgb": {
    "r": 92,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 83.301,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56344,
    "c": 0.13583,
    "h": 129
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#5C841D
secondary
#7246B7
accent
#41E781
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C841D

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

Preview Lab → · Contrast checker → · Palette generator →

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