If you're in Class E or G above 10,000ftMSL then you need a minimum of 5sm visibility and must remain 1sm horizontal, 1,000ft above, and 1,000ft below the clouds. If you are in Class G during the day and are below 1,200ft AGL then all you need is 1sm visibility and you need to remain clear of clouds.