The sand on the beach was white.

Literal

Beach [possessive-の] sand [topic-は] white was.

A simple descriptive sentence. 白かった is the past tense of the i-adjective 白い. Reads like a memory or observation.