QuestionUrine
Why Is Urine Yellow? Where the Color of Urine Comes From
For general education about how the body works, not medical advice. Medical disclaimer.

Urine is yellow mainly because of urochrome, also called urobilin, a pigment that forms when the body breaks down hemoglobin from old red blood cells. The shade of yellow depends on how concentrated the urine is at that moment. Foods, some vitamins and certain other substances can also change the color.
Contents
The full answer
Red blood cells last about 120 days in the bloodstream before the spleen and liver remove them. Their hemoglobin is broken down into heme, which is then converted into biliverdin and bilirubin. Bilirubin is carried to the liver, where it is processed and sent into the bile.
In the intestine, bacteria change bilirubin into urobilinogen, a colorless compound. Some of it is absorbed back into the blood and carried to the kidneys. In urine, urobilinogen is oxidized into urobilin, which is yellow. Urochrome is a mixture of pigments that includes urobilin and related compounds.
Urine color is therefore a mix of pigments from normal recycling of blood. The pigment is present in every healthy person, and the color is not added to the urine by any outside source. Its shade is the main visible sign of how much water is in the urine at any moment.
Urine color also changes with time of day, activity and temperature. These changes are part of normal variation. A single color does not describe the whole body.
How concentration changes the shade
Urine color depends on how much pigment is dissolved in a given volume of fluid. When the body has more water, the kidneys produce more urine and the pigment is spread through a larger volume. The result is a paler, almost straw-colored urine.
When the body keeps more water, the kidneys concentrate urine, so the same amount of pigment is in less fluid. The urine then looks darker yellow or amber. The hormone antidiuretic hormone plays a central role in this, because it makes the collecting ducts more permeable to water.
The pigment itself is not removed in large amounts by changes in concentration. The kidneys keep the same pigment in the urine and change only the volume of water that carries it. This is why a large volume of pale urine and a small volume of dark urine can both come from a healthy kidney working normally.
Color changes over the day for the same reason. Urine collected first thing in the morning is often more concentrated after a night without drinks, and it tends to be darker than urine passed later after fluids. This pattern is one of the simplest examples of the kidneys adjusting to the body’s water needs.
This is why the color is often used as a rough guide to hydration in everyday life. The color reflects the concentration at that time rather than the total water in the body. A sweaty day, a large meal or a change in temperature can each change the shade.
Foods, vitamins and other tints
Some foods change the color of urine without changing the pigment. Beets are the best-known example, and they can turn urine red or pink in some people. Rhubarb and some dyes can also change the color in the same way. The color is normal and disappears when the food is no longer eaten.
Vitamin B2, also called riboflavin, is a yellow compound that the kidneys excrete. Large amounts make urine look brighter yellow or slightly greenish, and this change is harmless. Some medicines also change urine color, which is a fact about how the kidneys handle those substances rather than advice about any particular product.
Urine can also look cloudy or foamy for reasons that involve dissolved solids, salts or mucus from the urinary tract. These are physical features of the fluid and do not change the basic yellow pigment. For the full list of what the urine contains, see urine.
Color compared with the body’s water
Doctors and scientists use the concentration of urine as one measure of how the kidneys are handling water. A urine test can measure specific gravity or osmolality, which describe how many dissolved particles are in a sample. These measures are more precise than color.
Color is only a rough guide. It does not show how much water is in the blood, in the cells or in the rest of the body. The body keeps a close balance of water through thirst, hormones and the kidneys, and that balance is set by many factors rather than by one reading.
Because color depends on so many things, a single shade is not a complete picture. The kidneys work continuously, filtering the blood through their nephrons, and the urine color reflects only the most recent part of that work. Physiologists therefore look at volume, concentration and the amounts of individual substances together when they describe how the kidneys handle water.
Common myths
One myth is that yellow urine always means the body is short of water. A more concentrated urine is darker, but the color depends on several factors, including diet and vitamins, so it is not a direct measure of total body water.
Another myth is that the yellow color is added by the body as a response to something taken in. The main pigment, urochrome, comes from normal recycling of hemoglobin and is present in every healthy person.
Frequently asked questions
What makes urine yellow?
The yellow color comes mainly from urochrome, also called urobilin. It forms when the body breaks down hemoglobin from old red blood cells.
Why is urine sometimes paler or darker?
The shade depends on how concentrated the urine is. More dilute urine looks paler, and more concentrated urine looks darker because the same pigment is in less water.
Can food change the color of urine?
Yes. Some foods, such as beets, can tint urine red or pink, and some vitamins can make it look brighter yellow. These effects are normal and do not show anything about the kidneys by themselves.
Where is urochrome made?
Urochrome forms in the body from bilirubin, which the liver makes from the breakdown of hemoglobin. Gut bacteria change it into urobilinogen, and the kidneys then carry the pigment into the urine.
Does urine color show how much water the body has?
Color gives a rough sign of concentration, because a more concentrated urine is darker. It does not measure the total water in the body, which depends on many other factors.
Sources and further reading
- OpenStax, "Anatomy and Physiology 2e"
- Guyton and Hall, "Textbook of Medical Physiology"
- Encyclopaedia Britannica, "Urine"
Cite this page
“Why Is Urine Yellow? Where the Color of Urine Comes From.” Body Atlas, https://body.bigworldlist.com/questions/why-is-urine-yellow/.