Two adjacent recursive processes converging to the mean value of a real-valued convex function are given. Refinements of the Hermite-Hadamard inequality are obtained. Some applications to the special means are discussed. A brief extension for convex mappings with variables in a linear space is also provided.