Diamonds are formed through compressed carbon beneath the earth’s surface. What differs with yellow diamonds, however, is that a change occurs in their chemical structure. Nitrogen, as a trace element, is entrapped in the stone’s structure and absorbs blue-spectrum light through its atomic structure, turning the stone visibly yellow.