Primary Yellow Color Code
Below you will find the Hexadecimal and RGB code for the color Yellow. The Hex code is on the top line and is made up of the 6 letters/numbers beside the pound sign. The RGB code shows the amount of red, green, and blue that is  combined in  various proportions to obtain that particular color. As you can see, the  true shade of Yellow uses the exact proportions of Red and Green  (255,255,0). 
#FFFF00  
rgb(255, 255, 0)
	     
rgb(255, 255, 0)