Oakley is a city in Contra Costa County, California, United States. It is within the nine-county San Francisco Bay Area. The population at the 2010 census was 35,432. Oakley was incorporated in 1999, making it the newest incorporated city in Contra Costa County. Oakley is part of the East Contra Costa Bicycle Plan, which has existing facilities in Oakley as well as plans for further expansion.