#5C841E#5C841E

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

Color values

HEX#5C841E
RGBrgb(92, 132, 30)
HSLhsl(84, 63%, 32%)
HSVhsv(84, 77%, 52%)
CMYKcmyk(30.3%, 0%, 77.3%, 48.2%)
CIE-LABlab(50.54, -29.85, 47.19)
CIE-LCHlch(50.54, 55.84, 122.31°)
OKLaboklab(56.35% -0.0853 0.105)
OKLCHoklch(56.35% 0.135 129.1)
XYZxyz(12.8992, 18.8712, 4.1909)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C841E #461E84
analogous
#84791E #5C841E #29841E
triadic
#5C841E #1E5C84 #841E5C
tetradic
#5C841E #1E8479 #461E84 #841E29
square
#5C841E #1E8479 #461E84 #841E29
split-complementary
#5C841E #1E2984 #791E84
monochromatic
#162007 #395213 #5C841E #7FB629 #9ED547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C841E#FFFFFF#000000##000000
##5C841E1.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)
#8B7A07
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#5F7E71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5c841e;
/* rgb */ color: rgb(92, 132, 30);
/* oklch */ color: oklch(56.4% 0.135 129.1);
Tailwind
colors: {
  custom: {
    50: '#8ea862',
    500: '#5c841e',
    950: '#000000',
  },
}
SCSS
$custom: #5c841e;
$custom-light: #8ea862;
$custom-dark: #000000;
JSON
{
  "hex": "#5c841e",
  "rgb": {
    "r": 92,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 83.529,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56351,
    "c": 0.13524,
    "h": 129.1
  },
  "luminance": 0.18872
}

Semantic roles & 50–950 ramp

primary
#5C841E
secondary
#7347B7
accent
#42E682
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C841E

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

Preview Lab → · Contrast checker → · Palette generator →

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