#5C862F#5C862F

#5C862F is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.126 H 131.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5C862F
RGBrgb(92, 134, 47)
HSLhsl(89, 48%, 35%)
HSVhsv(89, 65%, 53%)
CMYKcmyk(31.3%, 0%, 64.9%, 47.5%)
CIE-LABlab(51.30, -29.53, 41.00)
CIE-LCHlch(51.30, 50.53, 125.76°)
OKLaboklab(57.02% -0.0829 0.0945)
OKLCHoklch(57.02% 0.126 131.3)
XYZxyz(13.4517, 19.5303, 5.7498)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C862F #592F86
analogous
#86842F #5C862F #30862F
triadic
#5C862F #2F5C86 #862F5C
tetradic
#5C862F #2F8684 #592F86 #862F30
square
#5C862F #2F8684 #592F86 #862F30
split-complementary
#5C862F #2F3086 #842F86
monochromatic
#1E2B0F #3D591F #5C862F #7BB33F #99C966

Accessibility & contrast

On white

4.28
#5C862F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5C862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C862F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C862F#FFFFFF#000000##000000
##5C862F1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C24
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#5E8174
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5c862f;
/* rgb */ color: rgb(92, 134, 47);
/* oklch */ color: oklch(57.0% 0.126 131.3);
Tailwind
colors: {
  custom: {
    50: '#8da96c',
    500: '#5c862f',
    950: '#000000',
  },
}
SCSS
$custom: #5c862f;
$custom-light: #8da96c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c862f",
  "rgb": {
    "r": 92,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 88.966,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57015,
    "c": 0.12574,
    "h": 131.3
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#5C862F
secondary
#8760B0
accent
#50D892
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5C862F

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

Preview Lab → · Contrast checker → · Palette generator →

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