Carbonyl sulfide is the organic compound with the formula OCS. Commonly written as COS, it is a colourless flammable gas with an unpleasant odor. It is a linear molecule consisting of a carbonyl group double bonded to a sulfur atom. Carbonyl sulfide can be considered to be intermediate between carbon dioxide and carbon disulfide, both of which are valence isoelectronic with it.