hit it with some kilz first, something like this
https://www.homedepot.ca/en/home/p.u...000139629.html
then you can use reg white paint if you choose
however youll be able to see its not matched with the rest of the ceiling. At least it wont look yellow