Are you talking about "green water" i.e. suspended algae? If that's the problem and if you have not changed anything else in the tank I'd say it was the light. Too many nutrients from over feeding could be another cause.
A suggested cure from
The Krib
"I've just come out of a green water problem quite successfully by
following Karen Randall's advice. Two steps: 1. Eliminate excess
nutrients in the water column (through water changes). 2. Darken the
tank for 4 or 5 days (I used a dark blanket and duct tape and kept the
lights off the entire time feeding the rainbows once a day in the dark
- -- poor things!). I opened the tank up on the evening of the 4th day
(no biblical pun intended
) and had pristine crystal clear water
which has remained clear ever since (about 2 weeks now)."