Shamrocks are hardy plants and can be pretty vigorous if watered regularly. The green leaves of the shamrock may be turning yellow due to a lack of sunlight and nutrients in the Soil. As a result, likely, the plant is not getting enough light. You can try repotting the plant to a different container, but it might be challenging to remove all the water if your pot has been sitting in water.