#5C8142#5C8142

#5C8142 is a mid, moderate yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.100 H 133.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5C8142
RGBrgb(92, 129, 66)
HSLhsl(95, 32%, 38%)
HSVhsv(95, 49%, 51%)
CMYKcmyk(28.7%, 0%, 48.8%, 49.4%)
CIE-LABlab(49.94, -24.99, 29.92)
CIE-LCHlch(49.94, 38.98, 129.87°)
OKLaboklab(55.98% -0.0689 0.0722)
OKLCHoklch(55.98% 0.1 133.6)
XYZxyz(13.2470, 18.3688, 8.0008)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8142 #674281
analogous
#7B8142 #5C8142 #428147
triadic
#5C8142 #425C81 #81425C
tetradic
#5C8142 #427B81 #674281 #814742
square
#5C8142 #427B81 #674281 #814742
split-complementary
#5C8142 #474281 #81427B
monochromatic
#223019 #3F592D #5C8142 #79A957 #99BE80

Accessibility & contrast

On white

4.49
#5C8142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#5C8142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8142
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8142#FFFFFF#000000##000000
##5C81421.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85793D
Deuteranopia (green-blind)
#807646
Tritanopia (blue-blind)
#5C7D72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8142;
/* rgb */ color: rgb(92, 129, 66);
/* oklch */ color: oklch(56.0% 0.100 133.6);
Tailwind
colors: {
  custom: {
    50: '#8ca578',
    500: '#5c8142',
    950: '#000000',
  },
}
SCSS
$custom: #5c8142;
$custom-light: #8ca578;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8142",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 95.238,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55982,
    "c": 0.09983,
    "h": 133.6
  },
  "luminance": 0.18369
}

Semantic roles & 50–950 ramp

primary
#5C8142
secondary
#9476A9
accent
#5FC89D
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C0F09
muted
#7D7F7B

Preview Lab

Preview with #5C8142

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

Preview Lab → · Contrast checker → · Palette generator →

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