#5C8151#5C8151

#5C8151 is a mid, moderate green. Relative luminance 0.186; OKLCH L 56.3% C 0.083 H 138.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5C8151
RGBrgb(92, 129, 81)
HSLhsl(106, 23%, 41%)
HSVhsv(106, 37%, 51%)
CMYKcmyk(28.7%, 0%, 37.2%, 49.4%)
CIE-LABlab(50.18, -22.79, 21.97)
CIE-LCHlch(50.18, 31.66, 136.04°)
OKLaboklab(56.25% -0.0622 0.0547)
OKLCHoklch(56.25% 0.083 138.7)
XYZxyz(13.7487, 18.5694, 10.6429)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8151 #765181
analogous
#748151 #5C8151 #51815E
triadic
#5C8151 #515C81 #81515C
tetradic
#5C8151 #517481 #765181 #815E51
square
#5C8151 #517481 #765181 #815E51
split-complementary
#5C8151 #5E5181 #815174
monochromatic
#263622 #415B39 #5C8151 #79A36C #9BBA92

Accessibility & contrast

On white

4.45
#5C8151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5C8151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8151
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8151#FFFFFF#000000##000000
##5C81511.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A4E
Deuteranopia (green-blind)
#7E7654
Tritanopia (blue-blind)
#5A7E75
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8151;
/* rgb */ color: rgb(92, 129, 81);
/* oklch */ color: oklch(56.3% 0.083 138.7);
Tailwind
colors: {
  custom: {
    50: '#8ba582',
    500: '#5c8151',
    950: '#000000',
  },
}
SCSS
$custom: #5c8151;
$custom-light: #8ba582;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8151",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 106.25,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.0828,
    "h": 138.7
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#5C8151
secondary
#A086A8
accent
#68BFAB
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C0F0A
muted
#7D7F7C

Preview Lab

Preview with #5C8151

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

Preview Lab → · Contrast checker → · Palette generator →

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