#5C873B#5C873B

#5C873B is a mid, moderate yellow-green. Relative luminance 0.199; OKLCH L 57.4% C 0.116 H 133.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5C873B
RGBrgb(92, 135, 59)
HSLhsl(94, 39%, 38%)
HSVhsv(94, 56%, 53%)
CMYKcmyk(31.9%, 0%, 56.3%, 47.1%)
CIE-LABlab(51.74, -28.79, 35.74)
CIE-LCHlch(51.74, 45.89, 128.85°)
OKLaboklab(57.42% -0.0799 0.0845)
OKLCHoklch(57.42% 0.116 133.4)
XYZxyz(13.8668, 19.9185, 7.2509)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C873B #663B87
analogous
#82873B #5C873B #3B8740
triadic
#5C873B #3B5C87 #873B5C
tetradic
#5C873B #3B8287 #663B87 #87403B
square
#5C873B #3B8287 #663B87 #87403B
split-complementary
#5C873B #403B87 #873B82
monochromatic
#223216 #3F5C28 #5C873B #79B24E #99C478

Accessibility & contrast

On white

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

On black

4.98
#5C873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C873B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C873B#FFFFFF#000000##000000
##5C873B1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c873b;
/* rgb */ color: rgb(92, 135, 59);
/* oklch */ color: oklch(57.4% 0.116 133.4);
Tailwind
colors: {
  custom: {
    50: '#8daa73',
    500: '#5c873b',
    950: '#000000',
  },
}
SCSS
$custom: #5c873b;
$custom-light: #8daa73;
$custom-dark: #000000;
JSON
{
  "hex": "#5c873b",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 93.947,
    "s": 39.175,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.1163,
    "h": 133.4
  },
  "luminance": 0.19919
}

Semantic roles & 50–950 ramp

primary
#5C873B
secondary
#9370AE
accent
#59CF9C
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5C873B

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

Preview Lab → · Contrast checker → · Palette generator →

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