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

#797018 is a muted, earthy olive with distinct warm yellow undertones. Because of its muddy character, this shade works best as an accent color rather than a primary background. It pairs effectively with deep charcoal or muted terracotta for an organic, outdoorsy aesthetic. The hex code for this olive shade is #797018, which supports white text for good readability.
Questions about #797018
What is #797018 in RGB, HSL and CMYK?
In RGB, #797018 is rgb(121, 112, 24), in HSL hsl(54, 67%, 28%) and in CMYK 0%, 7%, 80%, 53%.
What colors pair best with the earthy #797018 olive?
#797018 works exceptionally well when balanced against deep neutrals or soft warm earth tones to ground its yellow character. It pairs perfectly with charcoal for high-contrast typography or terracotta to lean into a cozy, organic aesthetic.
Is #797018 suitable for body text or background use?
Due to its muted saturation and low luminance, #797018 is generally too dark and muddy to serve as a primary background for readable body text. Use it instead as a bold accent for buttons, borders, or illustrative elements.
Is #797018 readable on white or black?
#797018 has a 5.06:1 contrast ratio on white and 4.14: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.