In genetic code, a stop codon or termination codon is a nucleotide triplet within mRNA that signals a termination of translation into protein. In RNA stop codons are UAG ( Amber ) , UAA ( ochre ) and UGA (opal ) .