Onyx (formerly, Scodie) is a census-designated place (CDP) in Kern County, California, United States. Onyx is located 3.5 miles (6 km) east-northeast of Weldon, at an elevation of 2795 feet (852 m). The population was 476 at the 2000 census.
According to the United States Census Bureau, the CDP has a total area of 11.6 square miles (29.9 km²), all of it land.
As of the census of 2000, there were 476 people, 197 households, and 128 families residing in the CDP. The population density was 41.2 people per square mile (15.9/km²). There were 281 housing units at an average density of 24.3/sq mi (9.4/km²). The racial makeup of the CDP was 93.49% White, 0.21% Black or African American, 1.89% Native American, 0.63% from other races, and 3.78% from two or more races. 4.62% of the population were Hispanic or Latino of any race.
There were 197 households out of which 22.8% had children under the age of 18 living with them, 48.7% were married couples living together, 9.6% had a female householder with no husband present, and 35.0% were non-families. 27.4% of all households were made up of individuals and 14.2% had someone living alone who was 65 years of age or older. The average household size was 2.42 and the average family size was 2.92.
In the CDP the population was spread out with 24.4% under the age of 18, 4.0% from 18 to 24, 19.5% from 25 to 44, 23.5% from 45 to 64, and 28.6% who were 65 years of age or older. The median age was 47 years. For every 100 females there were 97.5 males. For every 100 females age 18 and over, there were 92.5 males.
The median income for a household in the CDP was $16,058, and the median income for a family was $29,583. Males had a median income of $31,818 versus $13,438 for females. The per capita income for the CDP was $9,370. About 25.7% of families and 34.7% of the population were below the poverty line, including 52.1% of those under age 18 and none of those age 65 or over.