Science, Tech, Math › Science The Chemicals Responsible for the Color of Urine and Feces Share Flipboard Email Print Dawn Poland / Getty Images Science Chemistry Chemistry In Everyday Life Basics Chemical Laws Molecules Periodic Table Projects & Experiments Scientific Method Biochemistry Physical Chemistry Medical Chemistry Famous Chemists Activities for Kids Abbreviations & Acronyms Biology Physics Geology Astronomy Weather & Climate By Anne Marie Helmenstine, Ph.D. Chemistry Expert Ph.D., Biomedical Sciences, University of Tennessee at Knoxville B.A., Physics and Mathematics, Hastings College Dr. Helmenstine holds a Ph.D. in biomedical sciences and is a science writer, educator, and consultant. She has taught science courses at the high school, college, and graduate levels. our editorial process Facebook Facebook Twitter Twitter Anne Marie Helmenstine, Ph.D. Updated August 27, 2018 Have you ever wondered what chemical makes urine yellow? It's because urine contains a pigment called urochrome or urobilin. Depending on your hydration level, urochrome can make urine appear straw-colored, yellow, or amber. Pigments in Blood to Urine and Feces You have a lot of red blood cells, but each cell has a relatively short lifespan of about 120 days. When red blood cells die, they are filtered out of the blood by the spleen and liver and the iron-containing heme molecule is degraded into biliverdin and then bilirubin. Bilirubin is excreted as bile, which makes its way into the large intestine, where microbes change it into the molecule urobilinogen. This molecule, in turn, is converted by other microbes into stercobilin. Stercobilin is excreted through feces and is what gives them their characteristic brown color. Some of the stercobilin molecules are reabsorbed into the bloodstream, where they are oxidized to become urochrome (urobilin). Your kidneys filter out this molecule and it exits your body in urine. In addition to having a characteristic color, urine glows under a black light, but this is due to high levels of phosphorus.