A process for the extractive oxidation of contaminants from raw hydrocarbon streams by oxidation and/or inertization of sulfur and nitrogen compounds from raw hydrocarbon streams rich in heteroatomic polar compounds in the presence of a peroxide solution/organic acid at atmospheric or higher pressure, under equal or higher than ambient temperature, wherein the raw hydrocarbon stream is raw naphtha of boiling range from 30°C to 300°C, and wherein said process comprises the following steps: a) oxidizing sulfur and nitrogen compounds present in said raw hydrocarbon streams by admixing, under agitation, said organic acid and said peroxide solution, the weight percent of the peroxide solution and organic acid based on raw hydrocarbon being at least 3 for both the peroxide solution and the organic acid, then mixing said oxidant solution with said raw hydrocarbon stream containing sulfur and nitrogen compounds, at a pH between 1.0 and 6.0, the reaction being carried out either (i) under reflux of vaporized hydrocarbon obtained by external heating, or (ii) under pressure sufficient to keep the hydrocarbon in the liquid phase, for the period of time required to effect the extractive oxidation and obtaining a hydrocarbon stream wherefrom the sulfur and nitrogen compounds have been partially oxidized and simultaneously extracted by the aqueous oxidant, yielding a lower aqueous phase and an upper oxidized hydrocarbon phase; b) after the end of said extractive oxidation, separating the upper oxidized hydrocarbon phase, neutralising and washing with water, filtering and drying; and c) recovering said treated, odourless, clear yellowish and stable hydrocarbon phase wherefrom the total nitrogen compounds have been removed up to 88.1% by weight, basic nitrogen compounds have been removed up to 99.1% by weight, sulfur compounds have been removed up to 23% by weight, and olefins have been removed by not more than 6.5 weight %, all percentages being based on the original feedstock content, and wherein the treated hydrocarbon phase is further directed to a hydrotreating process. a) oxidizing sulfur and nitrogen compounds present in said raw hydrocarbon streams by admixing, under agitation, said organic acid and said peroxide solution, the weight percent of the peroxide solution and organic acid based on raw hydrocarbon being at least 3 for both the peroxide solution and the organic acid, then mixing said oxidant solution with said raw hydrocarbon stream containing sulfur and nitrogen compounds, at a pH between 1.0 and 6.0, the reaction being carried out either (i) under reflux of vaporized hydrocarbon obtained by external heating, or (ii) under pressure sufficient to keep the hydrocarbon in the liquid phase, for the period of time required to effect the extractive oxidation and obtaining a hydrocarbon stream wherefrom the sulfur and nitrogen compounds have been partially oxidized and simultaneously extracted by the aqueous oxidant, yielding a lower aqueous phase and an upper oxidized hydrocarbon phase; b) after the end of said extractive oxidation, separating the upper oxidized hydrocarbon phase, neutralising and washing with water, filtering and drying; and c) recovering said treated, odourless, clear yellowish and stable hydrocarbon phase wherefrom the total nitrogen compounds have been removed up to 88.1% by weight, basic nitrogen compounds have been removed up to 99.1% by weight, sulfur compounds have been removed up to 23% by weight, and olefins have been removed by not more than 6.5 weight %, all percentages being based on the original feedstock content,