Onyx is a census-designated place in Kern County, California, United States. Onyx is located 3.5 miles east-northeast of Weldon in the South Fork Valley at an elevation of 2,795 feet. The population was 475 at the 2010 census, down from 476 at the 2000 census.