You discover alien life with a genetic system based on a DNA…

You discover alien life with a genetic system based on a DNA-like molecule, but it has 6 bases instead of 4 as happens on Earth. The proteins on the planet are built from combinations of 30 possible amino acids. What would be the minimum number of bases in each codon on this planet?