There are multiple potential causes, one of which is something you ate. Here's a list of conditions that can cause yellow stool: https://www.healthline.com/health/digestive-health/yellow-stool#causes
Of those, gallbladder seems the most likely unless you have risk factors for the others mentioned. You might wait a few days to see if it subsides on its own, indicating it was an issue with the food you ate. If not, it's best to see a doctor for a diagnosis.