#998242 Hex Color

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

Hex color #998242 graphic
This unsaturated, warm yellow carries strong olive undertones that evoke organic, earthy themes. Because of its muted character, the hex code #998242 works best as a supporting tone or accent rather than a full background. It pairs exceptionally well with deep charcoal or muted navy for a grounded, professional look. Black text remains legible over this shade, ensuring it functions well for headlines or UI elements.

Questions about #998242

What is #998242 in RGB, HSL and CMYK?
In RGB, #998242 is rgb(153, 130, 66), in HSL hsl(44, 40%, 43%) and in CMYK 0%, 15%, 57%, 40%.
What colors pair best with #998242?
Because of its muted and earthy quality, #998242 works best alongside deep neutrals like charcoal or a muted navy. These darker tones provide the necessary contrast to keep the composition legible while highlighting the olive undertones of the shade.
Does #998242 work well for text and UI elements?
Yes, #998242 serves as an excellent choice for headers or UI accents where you need a warmer, less aggressive alternative to standard colors. It maintains strong readability against light backgrounds, though it should be used cautiously on dark backgrounds to ensure sufficient contrast.
Is #998242 readable on white or black?
#998242 has a 3.73:1 contrast ratio on white and 5.62:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works only for large text (24px, or 18.5px bold) and on black it works for body text. Try other pairs in the contrast checker.