Pursuing happiness? Maybe you should head to Hawaii.

A new study from personal finance website WalletHub ranks all 50 states in terms of happiness.

For its survey, WalletHub compared states across three key dimensions, including emotional and physical well-being, work environment and community and environment, reasoning that, "previous studies have found that good economic, emotional, physical and social health are all key to a well-balanced and fulfilled life." WalletHub then used 31 metrics to evaluate each dimension (including things everything from adequate-sleep rate to number of work hours to income level and ideal weather).

The happiest state of all, according to the study, is Hawaii. It ranks first in the emotional and physical well-being dimension, with low shares of adult depression.

The second happiest state goes to Utah, which boasts a No. 1 ranking in the work environment dimension and also has low divorce rates.

Minnesota rounds out the top three happiest states, with low divorce rates and a high ranking for safety.

In general, states in the south seem to be unhappier. The least happy state, according to WalletHub, is West Virginia thanks to factors including low adequate sleep rates and high levels of adult depression. Arkansas ranks 49th on WalletHub's study of the happiest states, with low sports participation rates and high levels of adult depression. Louisiana, in 48th place, has more work hours and high divorce rates.