See...there y'all go getting depressing again....Maybe I need to write a dystopian book with a bright and shiny ending....would that be an oxymoron?
I do not know if young adult fiction is your cup of tea, but the dystopian "Hunger Games" generally pivots on the notion of moral clarity - and I don't know if one could call them happy endings, but the stories end on a hopeful note for the protagonists.
There is a lot of good, young adult fiction out there - and some of it is pretty bloody good!