Your choice worked out, so it seems good on the surface. If it had not worked out, then I guess I'd have a different opinion.
Generally, I'd say you were legal. And safe. But, you do recognize how quickly being legal can become a nightmare in an underpowered plane not capable of dealing with ice?
What would you have done had you encountered icing while climbing, and the plane stopped climbing?