Terraria item ID 1110. Terraria 1.4.5.7.
The Yellow Marigold is a type of plant. It grows on regular grass and Hallowed grass above surface. Unlike many plants, instead of broken by any attack, it has to be harvested with a pickaxe. Its sole purpose is to make Yellow Dye.
Description from the Terraria Wiki.