Potassium cyanate is an inorganic compound with the formula KOCN . It is a colourless solid. It is used to prepare many other compounds including useful herbicide.Potassium cyanate can be prepared by reacting urea with alkali hydroxide or carbonates at high temperatures.