Sodium ethyl xanthate (SEX) is an organosulfur compound with the chemical formula . It is a pale yellow powder, which is usually obtained as the dihydrate.  Sodium ethyl xanthate is used in the mining industry as a flotation agent.  A closely related potassium ethyl xanthate (KEX) is obtained as the anhydrous salt.