Another way to say "the opposite of frivolous is earnest" is "Earnest is the opposite of frivolous"