#0C7F31 Hex Color

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

Hex color #0c7f31 graphic
A fairly saturated, medium-dark green, #0c7f31 has a leafy base with a slight blue undertone. Its steady, reliable character suits sustainability, organic brands, finance, pharmacy, and gardening. Use it as a supporting or dominant brand color with warm cream and muted terracotta. The hex code #0c7f31 supports readable white body text at about 5.1:1 contrast.

Questions about #0c7f31

What is #0c7f31 in RGB, HSL and CMYK?
In RGB, #0c7f31 is rgb(12, 127, 49), in HSL hsl(139, 83%, 27%) and in CMYK 91%, 0%, 61%, 50%.
What colors pair well with #0c7f31?
Warm cream softens #0c7f31, while muted terracotta adds earthy contrast; navy can provide a deeper supporting color for logos, packaging, and editorial layouts without competing visually with the green itself.
Does #0c7f31 read as a warm or cool green?
#0c7f31 reads as a slightly cool green because its leafy base carries a subtle blue undertone, giving it a steady, clean feel rather than the yellow warmth found in more olive or chartreuse greens.
Does #0c7f31 work with white text?
White text provides strong contrast against #0c7f31, making it a practical choice for buttons, labels, and body copy; still test the finished design because font size, weight, and nearby colors affect accessibility.
Is #0c7f31 readable on white or black?
#0c7f31 has a 5.12:1 contrast ratio on white and 4.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.