#5C8137#5C8137

#5C8137 is a mid, moderate yellow-green. Relative luminance 0.183; OKLCH L 55.8% C 0.111 H 131.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5C8137
RGBrgb(92, 129, 55)
HSLhsl(90, 40%, 36%)
HSVhsv(90, 57%, 51%)
CMYKcmyk(28.7%, 0%, 57.4%, 49.4%)
CIE-LABlab(49.80, -26.31, 35.47)
CIE-LCHlch(49.80, 44.16, 126.57°)
OKLaboklab(55.82% -0.0734 0.0836)
OKLCHoklch(55.82% 0.111 131.3)
XYZxyz(12.9533, 18.2513, 6.4541)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8137 #5C3781
analogous
#818137 #5C8137 #378137
triadic
#5C8137 #375C81 #81375C
tetradic
#5C8137 #378181 #5C3781 #813737
square
#5C8137 #378181 #5C3781 #813737
split-complementary
#5C8137 #373781 #813781
monochromatic
#1F2B12 #3D5625 #5C8137 #7BAC49 #99C270

Accessibility & contrast

On white

4.52
#5C8137 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5C8137 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8137
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8137#FFFFFF#000000##000000
##5C81371.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867830
Deuteranopia (green-blind)
#81753C
Tritanopia (blue-blind)
#5D7C71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8137;
/* rgb */ color: rgb(92, 129, 55);
/* oklch */ color: oklch(55.8% 0.111 131.3);
Tailwind
colors: {
  custom: {
    50: '#8ca670',
    500: '#5c8137',
    950: '#000000',
  },
}
SCSS
$custom: #5c8137;
$custom-light: #8ca670;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8137",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 55
  },
  "hsl": {
    "h": 90,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55822,
    "c": 0.11121,
    "h": 131.3
  },
  "luminance": 0.18252
}

Semantic roles & 50–950 ramp

primary
#5C8137
secondary
#8A69AB
accent
#58D094
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F08
muted
#7D7F7B

Preview Lab

Preview with #5C8137

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

Preview Lab → · Contrast checker → · Palette generator →

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