For measurements using liquid extraction of hydrocarbons from the soil, a laboratory model of a broadband spectrophotometric analyzer has been constructed based on SA-2 spectrophotometric analyzer of solutions, developed at the Institute of Atmospheric Optics SB RAS. The hydrocarbon absorption spectrum was recorded in several regions: 3-4 mkm region of the fundamental transitions, where hydrocarbon absorption spectra are characterized by large values of the absorption coefficient, and in the 1.8-2.5 mkm and 0.8-1.6 mkm overtone regions where absorption by different hydrocarbon groups is well separated. The wide spectral region, high sensitivity, and efficiency of the spectrophotometer allowed covering a wide dynamic range of measured concentrations (3-4 orders of magnitude) and providing for sufficient selectivity in the hydrocarbon type content and fraction composition.