#5C8145#5C8145

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

Color values

HEX#5C8145
RGBrgb(92, 129, 69)
HSLhsl(97, 30%, 39%)
HSVhsv(97, 47%, 51%)
CMYKcmyk(28.7%, 0%, 46.5%, 49.4%)
CIE-LABlab(49.98, -24.59, 28.36)
CIE-LCHlch(49.98, 37.53, 130.92°)
OKLaboklab(56.03% -0.0676 0.0689)
OKLCHoklch(56.03% 0.097 134.5)
XYZxyz(13.3378, 18.4051, 8.4789)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8145 #6A4581
analogous
#7A8145 #5C8145 #45814C
triadic
#5C8145 #455C81 #81455C
tetradic
#5C8145 #457A81 #6A4581 #814C45
square
#5C8145 #457A81 #6A4581 #814C45
split-complementary
#5C8145 #4C4581 #81457A
monochromatic
#23311A #405930 #5C8145 #79A85C #99BD83

Accessibility & contrast

On white

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

On black

4.68
#5C8145 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8145
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8145#FFFFFF#000000##000000
##5C81451.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857940
Deuteranopia (green-blind)
#807649
Tritanopia (blue-blind)
#5C7D73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8145;
/* rgb */ color: rgb(92, 129, 69);
/* oklch */ color: oklch(56.0% 0.097 134.5);
Tailwind
colors: {
  custom: {
    50: '#8ca57a',
    500: '#5c8145',
    950: '#000000',
  },
}
SCSS
$custom: #5c8145;
$custom-light: #8ca57a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8145",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 97,
    "s": 30.303,
    "l": 38.824
  },
  "oklch": {
    "l": 0.56031,
    "c": 0.09653,
    "h": 134.5
  },
  "luminance": 0.18405
}

Semantic roles & 50–950 ramp

primary
#5C8145
secondary
#967AA8
accent
#61C7A0
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C0F09
muted
#7D7F7B

Preview Lab

Preview with #5C8145

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

Preview Lab → · Contrast checker → · Palette generator →

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