We create an invariant of virtual YY-oriented trivalent spatial graphs using colorings by virtual Niebrzydowski algebras. This paper generalizes the color invariants using virtual tribrackets and Niebrzydowski algebras by Nelson–Pico, and Graves-Nelson-T. We computed all tribrackets, Niebrzydowski algebras and virtual Niebrzydowski algebras of orders 3 and 4, and provide generative code for all data sets.