#505042 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #505042 graphic
#505042 is a dark, muted yellow with gray and olive undertones, giving it a dusty, almost gray appearance. Its low saturation feels serious and understated, making it effective for moody backgrounds, construction branding, or budget-focused layouts. Use it as a supporting tone with cream or rust, while white text achieves about 8.2:1 contrast. The hex code is #505042.

Questions about #505042

What is #505042 in RGB, HSL and CMYK?
In RGB, #505042 is rgb(80, 80, 66), in HSL hsl(60, 10%, 29%) and in CMYK 0%, 0%, 18%, 69%. Browse more shades of gray with names and hex codes.
What colors pair well with #505042?
Cream and terracotta pair well with #505042, adding warmth and contrast to its dusty olive-yellow base while keeping the palette grounded, restrained, and suitable for moody interfaces, industrial branding, packaging, or layouts that need a subdued supporting color.
Is #505042 readable on white or black?
#505042 has a 8.18:1 contrast ratio on white and 2.56: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 is too faint for text. Try other pairs in the contrast checker.