Definition of earnest

What does the word earnest mean?