With more recent versions of OS X, open the "Users & Groups" preference pane, right click on your user in the left hand column, and click the "Advanced Options" item in the pop-up menu.

From there you can change your account name. Do read the warning carefully, however, as some of the settings on that panel are hazardous to modify.