Sulfur, together with carbon and iron salts, is used to form iron polysulfides and produce amber glass ranging from yellowish to almost black.
What chemical compounds can make glass nearly black?
iron polysulfides