An earthquake of magnitude 2.2 and depth of 17.90 kilometers occurred 5.86 miles from Ferndale, CA in Humboldt County at 12:42 PM.