Can you guess California's wealthiest counties? Here are the top 5

California is known for its vibrant high-tech, agricultural, finance, and entertainment sectors, earning the Golden State the largest economy of any state in the nation, according to a recent study by financial website SmartAsset.

So, how big is California's economy? Four California counties secured spots in the top 10 wealthiest in the nation, the most of any state, according to a recent analysis by SmartAsset.

So, which California counties lead the pack in overall income, median salary and home prices, and investment income? Here's what SmartAssets found:

(To see the full California report, go to https://smartasset.com/investing/asset-allocation-calculator#california/overallWealth-0)

What are the wealthiest counties in California, according to Smartasset?

These are the five wealthiest counties in California, all in the San Francisco Bay Area in Northern California.

  1. San Mateo County (fourth overall in the nation)

  2. Santa Clara County (fifth overall in the nation)

  3. Marin County (six overall in the nation)

  4. City and County of San Francisco (ninth overall in the nation)

  5. Alameda County

In Southern California, Orange County ranked 6th, Ventura County 11th, San Diego County 12th, Los Angeles County was 18th, Riverside County 25th, San Bernardino County 28th, and Imperial County 53rd wealthiest in the state, respectively. In the Central Valley, Tulare County ranked 46th, San Joaquin County ranked 27th, and Shasta County ranked 42nd. On the Central Coast, Monterey County ranked 16th in the state.

What California county has the highest median home value?

  1. Santa Clara County, $1.66 million (fourth overall in the nation)

  2. San Mateo County, $1.59 million (fifth overall in the nation)

  3. Marin County, $1.50 million (eight overall in the nation)

  4. City and County of San Francisco, $1.29 million (10th overall in the nation)

  5. Santa Cruz County, $1.17 million

The average median home value in California is $627,179 according to SmartAsset.

What California county has the highest median income?

  1. Santa Clara County, $153,792 (third overall in the nation)

  2. San Mateo County, $149,907 (fourth overall in the nation)

  3. Marin County, $142,019

  4. City and County of San Francisco, $136,689

  5. Alameda County, $122,488

California's median income is $70,192.

What California county has the highest investment income?

  1. San Mateo County,$270,836

  2. Marin County, $234,002

  3. City and County of San Francisco, $213,509

  4. Santa Clara County, $157,261

  5. Santa Barbara County, $145,933

The average investment income in California is $66,976.

What California county had the lowest ranking in wealth?

Trinity County has the lowest ranking in wealth of any county in California, with a median income of $42,206.