When a yellow object is under light, it will appear yellow. This is because yellow objects reflect yellow light and absorb all other colors of light. The light that is reflected off of the object is what we see. In this case, since the object is reflecting yellow light, it will appear yellow to us.