#5C8342#5C8342

#5C8342 is a mid, moderate yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.103 H 134.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5C8342
RGBrgb(92, 131, 66)
HSLhsl(96, 33%, 39%)
HSVhsv(96, 50%, 51%)
CMYKcmyk(29.8%, 0%, 49.6%, 48.6%)
CIE-LABlab(50.57, -25.98, 30.70)
CIE-LCHlch(50.57, 40.22, 130.24°)
OKLaboklab(56.49% -0.0716 0.074)
OKLCHoklch(56.49% 0.103 134.1)
XYZxyz(13.5130, 18.9008, 8.0895)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8342 #694283
analogous
#7C8342 #5C8342 #428348
triadic
#5C8342 #425C83 #83425C
tetradic
#5C8342 #427C83 #694283 #834842
square
#5C8342 #427C83 #694283 #834842
split-complementary
#5C8342 #484283 #83427C
monochromatic
#233219 #3F5A2D #5C8342 #79AB58 #99BF80

Accessibility & contrast

On white

4.39
#5C8342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5C8342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8342
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8342#FFFFFF#000000##000000
##5C83421.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3D
Deuteranopia (green-blind)
#827746
Tritanopia (blue-blind)
#5C7F74
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5c8342;
/* rgb */ color: rgb(92, 131, 66);
/* oklch */ color: oklch(56.5% 0.103 134.1);
Tailwind
colors: {
  custom: {
    50: '#8ca778',
    500: '#5c8342',
    950: '#000000',
  },
}
SCSS
$custom: #5c8342;
$custom-light: #8ca778;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8342",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 96,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.10299,
    "h": 134.1
  },
  "luminance": 0.18901
}

Semantic roles & 50–950 ramp

primary
#5C8342
secondary
#9677AA
accent
#5FC99F
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C0F09
muted
#7D7F7B

Preview Lab

Preview with #5C8342

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

Preview Lab → · Contrast checker → · Palette generator →

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