Race on a US Birth Certificate

Here’s a copy of Barack Obama’s birth certificate:


As a New Zealander, something here amazes me: the race of his mother and the race of his father are recorded. Does this still happen today in the USA? For what purpose would Hawaii record this information?