Any oil or non-polar compound.
Chemistry behind this is "like dissolves like"
Water, being a polar compound, does not easily dissolve oils or non-polar compounds like THC,
terpenes, etc.
Anything with significant non polar character like Acetone, alcohols, hydrocarbons should get the stuff off pretty well.
My suggestion is to use either alcohol (a hand santizer might work well), or shortening followed by a detergent.
For a little extra chemistry, detergents/soaps clean by having both polar and non polar ends, such that the non-polar interaction with the sticky substance allows water to pull it from the surface by the polar end. Ethanol has a hydrocarbon chain small enough such that it has significant polar character while retaining much of its non-polar dissolving power (Ethane being a hydrocarbon, completely non-polar and ethanol being a derivative with a polar OH group substituted at one position). Polar substances will be carried away by water alone.
Friction can also remove non-polar substances, perhaps a hand soap with grit would do the job well, this is what I used for years at a newspaper packing facility. Running enough water over it for long enough can remove it by friction also---but obviously that's a terrible idea the effectiveness of which will vary from compound to compound.