#5C842E#5C842E

#5C842E is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.5% C 0.124 H 130.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5C842E
RGBrgb(92, 132, 46)
HSLhsl(88, 48%, 35%)
HSVhsv(88, 65%, 52%)
CMYKcmyk(30.3%, 0%, 65.2%, 48.2%)
CIE-LABlab(50.66, -28.66, 40.76)
CIE-LCHlch(50.66, 49.83, 125.12°)
OKLaboklab(56.49% -0.0806 0.0939)
OKLCHoklch(56.49% 0.124 130.7)
XYZxyz(13.1579, 18.9747, 5.5535)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C842E #562E84
analogous
#84812E #5C842E #31842E
triadic
#5C842E #2E5C84 #842E5C
tetradic
#5C842E #2E8481 #562E84 #842E31
square
#5C842E #2E8481 #562E84 #842E31
split-complementary
#5C842E #2E3184 #812E84
monochromatic
#1D290E #3C571E #5C842E #7CB13E #9AC964

Accessibility & contrast

On white

4.38
#5C842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5C842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C842E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C842E#FFFFFF#000000##000000
##5C842E1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B24
Deuteranopia (green-blind)
#847835
Tritanopia (blue-blind)
#5E7E72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c842e;
/* rgb */ color: rgb(92, 132, 46);
/* oklch */ color: oklch(56.5% 0.124 130.7);
Tailwind
colors: {
  custom: {
    50: '#8da86b',
    500: '#5c842e',
    950: '#000000',
  },
}
SCSS
$custom: #5c842e;
$custom-light: #8da86b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c842e",
  "rgb": {
    "r": 92,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 87.907,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.12375,
    "h": 130.7
  },
  "luminance": 0.18975
}

Semantic roles & 50–950 ramp

primary
#5C842E
secondary
#845EB0
accent
#50D88F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C842E

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

Preview Lab → · Contrast checker → · Palette generator →

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