with most men, it would be from not drinking enough fluid.
semen is made by three glands. sometimes the output of them is not equal.
this can also be a factor...not a worry, but a cause of the yellowness.
if there is trouble, it usually shows up red, or brown, which means there is blood in it.