#5C8131#5C8131

#5C8131 is a mid, moderate yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.117 H 130.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5C8131
RGBrgb(92, 129, 49)
HSLhsl(88, 45%, 35%)
HSVhsv(88, 62%, 51%)
CMYKcmyk(28.7%, 0%, 62%, 49.4%)
CIE-LABlab(49.73, -26.93, 38.33)
CIE-LCHlch(49.73, 46.85, 125.09°)
OKLaboklab(55.75% -0.0756 0.0891)
OKLCHoklch(55.75% 0.117 130.3)
XYZxyz(12.8182, 18.1972, 5.7422)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8131 #563181
analogous
#817E31 #5C8131 #348131
triadic
#5C8131 #315C81 #81315C
tetradic
#5C8131 #31817E #563181 #813134
square
#5C8131 #31817E #563181 #813134
split-complementary
#5C8131 #313481 #7E3181
monochromatic
#1D280F #3C5520 #5C8131 #7CAD42 #9AC567

Accessibility & contrast

On white

4.53
#5C8131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5C8131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8131
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8131#FFFFFF#000000##000000
##5C81311.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#5E7C70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8131;
/* rgb */ color: rgb(92, 129, 49);
/* oklch */ color: oklch(55.7% 0.117 130.3);
Tailwind
colors: {
  custom: {
    50: '#8da56c',
    500: '#5c8131',
    950: '#000000',
  },
}
SCSS
$custom: #5c8131;
$custom-light: #8da56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8131",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 87.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.11684,
    "h": 130.3
  },
  "luminance": 0.18198
}

Semantic roles & 50–950 ramp

primary
#5C8131
secondary
#8461AD
accent
#53D58F
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C8131

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

Preview Lab → · Contrast checker → · Palette generator →

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