It could mean a prostate infection, an STD, changes in your diet, substance use, liver issues - https://www.healthline.com/health/mens-health/semen-color-chart#yellow-or-green
You should see your doctor for some tests. It may be something simple like a UTI, but you need to find out.
Let us know what happens.