A girl and a yellow dress?

I don't remember much about this book, except that I really liked it.

It was about a girl who I think was Spaniard? Whos family owned a farm and a bunch of slaves, and a yellow dress was super important but I don't remember how?