This is a table of upper concentration limits (water and soil) for typical hydrocarbons in the state of Massachusetts (United States) that may be a guide for you.
I think this question is not easy to answer because it very much depends on the legislation. Here in Germany values differ depending on the "pathway of action" of the contaminant, for example soil -> human, soil -> groundwater or soil -> plant. For total petroleum hydrocarbons (TPH) values range from 300 mg/kg to 1000 mg/kg. For soil -> groundwater they depend on protection zones, ranging from 200 mg/kg soil in highly protected areas to 1200 mg/kg for the vadoze zone and deep groundwater levels (>5 m). Another issue is the use of excavated contaminated soil, where unlimited use is permitted for