The vast majority of all diamonds contain some nitrogen. In most yellow diamonds the nitrogen atoms have grouped themselves in very specific ways. This happens during and right after the diamond is formed. These nitrogen arrangements absorb light in the blue region of the spectrum producing a yellow color. Yellow diamonds can contain an orange, green or brown modifying color.