#5F5C40 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dark, muted olive sits between yellow and brown. With its heavy, dusty character, it works best as a supporting accent rather than a primary background color, where it risks appearing muddy. White text remains legible against this shade, meeting accessibility standards for small details. Use the hex code #5f5c40 alongside warm, desaturated neutrals to maintain a clean, grounded palette.
Questions about #5f5c40
What is #5f5c40 in RGB, HSL and CMYK?
In RGB, #5f5c40 is rgb(95, 92, 64), in HSL hsl(54, 19%, 31%) and in CMYK 0%, 3%, 33%, 63%. Browse more shades of brown with names and hex codes.
What colors pair best with #5f5c40 for a balanced palette?
Does #5f5c40 work well as a primary background color?
Using #5f5c40 as a full-page background often creates a muddy or cramped feeling, so it is better suited as a supporting accent or border color. If you must use it as a background, ensure your text is high-contrast white to maintain readability.
Is #5f5c40 readable on white or black?
#5f5c40 has a 6.79:1 contrast ratio on white and 3.09:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.