A serum bilirubin test measures the levels of bilirubin in the blood. Bilirubin is a yellow compound that occurs in the normal catabolic pathway that breaks down hemoglobin in red blood cells. Elevated levels of bilirubin can lead to jaundice, a condition characterized by the yellowing of the skin and eyes.