If you have placed the view on the layout (as a drawing) then it will be using the same Graphic Overrides, Renovation Filter, Layer, Scale, etc., as set in the View Settings.
Have a look at the 'Drawing Settings' of the drawing in the layout.
You may be using a different pen set to the one you have used in the view.
It is possible to change the pen set used there so pens 60 and/or 253 may be yellow in that pen set rather than black as in the view pen set.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11