One possible reason for your croton leaves turning yellow is insufficient light.

Why Are My Croton Leaves Turning Yellow? (And How To Fix It)

If your Croton’s leaves are turning yellow, it’s likely due to a nutrient deficiency or too much direct sunlight. Thankfully, there are a few easy ways to fix the problem.