#5A7F1E Hex Color

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

Hex color #5a7f1e graphic
With its muted yellow-green cast, #5a7f1e is a medium-dark lime olive that feels grounded rather than bright. Its restrained saturation suggests growth and resilience, making it useful for nature, outdoor, organic, and military-inspired branding. A warm earthy undertone supports burgundy or warm cream accents. Use it as a supporting tone or bold accent; white text reaches about a 4.7:1 contrast ratio. The hex code is #5a7f1e.

Questions about #5a7f1e

What is #5a7f1e in RGB, HSL and CMYK?
In RGB, #5a7f1e is rgb(90, 127, 30), in HSL hsl(83, 62%, 31%) and in CMYK 29%, 0%, 76%, 50%.
What colors pair well with #5a7f1e?
#5a7f1e pairs well with warm cream, burgundy, terracotta, and dark charcoal, which balance its muted yellow-green body without making the palette feel overly fresh; cream opens the palette, while burgundy or terracotta adds contrast for outdoor and organic branding.
Does #5a7f1e work as a background or accent?
#5a7f1e works best as a supporting background, large text color, or bold accent rather than a full-page base, because its medium-dark value and restrained saturation can feel heavy across large areas.
Is #5a7f1e readable on white or black?
#5a7f1e has a 4.67:1 contrast ratio on white and 4.48: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.