In this paper, a method is proposed for simultaneously measuring the front and back surface profiles of transparent micro-optical components. The proposed method combines a dual-wavelength digital holographic microscope with liquids to record holograms at different wavelengths, and then numerically reconstructs the three-dimensional phase information to image the front and back sides of the sample. A theoretical model is proposed to determine the surface information, and imaging of an achromatic lens is demonstrated experimentally. Unlike conventional interferometry, our proposed method supports nondestructive measurement and direct observation of both front and back profiles of micro-optical elements.