#5C873E#5C873E

#5C873E is a mid, moderate yellow-green. Relative luminance 0.200; OKLCH L 57.5% C 0.113 H 134.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5C873E
RGBrgb(92, 135, 62)
HSLhsl(95, 37%, 39%)
HSVhsv(95, 54%, 53%)
CMYKcmyk(31.9%, 0%, 54.1%, 47.1%)
CIE-LABlab(51.78, -28.44, 34.26)
CIE-LCHlch(51.78, 44.52, 129.70°)
OKLaboklab(57.46% -0.0787 0.0816)
OKLCHoklch(57.46% 0.113 134)
XYZxyz(13.9468, 19.9506, 7.6725)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C873E #693E87
analogous
#80873E #5C873E #3E8744
triadic
#5C873E #3E5C87 #873E5C
tetradic
#5C873E #3E8087 #693E87 #87443E
square
#5C873E #3E8087 #693E87 #87443E
split-complementary
#5C873E #443E87 #873E80
monochromatic
#233317 #3F5D2B #5C873E #79B052 #99C37C

Accessibility & contrast

On white

4.21
#5C873E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5C873E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C873E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C873E#FFFFFF#000000##000000
##5C873E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E37
Deuteranopia (green-blind)
#867A43
Tritanopia (blue-blind)
#5C8276
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c873e;
/* rgb */ color: rgb(92, 135, 62);
/* oklch */ color: oklch(57.5% 0.113 134.0);
Tailwind
colors: {
  custom: {
    50: '#8caa75',
    500: '#5c873e',
    950: '#000000',
  },
}
SCSS
$custom: #5c873e;
$custom-light: #8caa75;
$custom-dark: #000000;
JSON
{
  "hex": "#5c873e",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 95.342,
    "s": 37.056,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57457,
    "c": 0.11333,
    "h": 134
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#5C873E
secondary
#9674AD
accent
#5BCD9E
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5C873E

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

Preview Lab → · Contrast checker → · Palette generator →

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