Hi, well… while as you have correctly tried to correct Yellow with Blue, that works generally, there are many different possibilities and although you do have to experiment and that’s why you have the preview in any editing or adjustment window, a good rule of thumb is to use the opposite complementary color in the color wheel or color range or whatever color referencing system you use.
There are some clear standards about color temperature that provide you the exact filtering and/or color correction for certain color temperatures, however if the yellowish is not caused by film - light incongruities but for example or worn-out bulbs in lights and or flashes then you have to still correct and choose. While filter gels booklets often have information on every gel about its function color correction or color conversion, they also provide how much correction or conversion they produce.
The problem is that with Photoshop the color temperature system does not work or cant be used as reference so simply, but at least it can give you and idea of what color you should use to correct other colors and how much hue, saturation you may use.
Other important issue is that while printing the most accurate system is CMYK, monitors and default color system in Photoshop is the RGB, or sRGB and also you might ensure that your monitor is not only using the same system which you are going to use to print but that it is correctly balanced. Adobe has a small and simple balancing program called Adobe gamma, which permits you to select the system you want to use and regulate the colors using an adobe default image.
Also use any of the above and make sure that the saving format uses any of the systems above and also that with or without compressionthe ohoto - image has the better quality possible, often related to Mb size, since for example gif format use indexed colors and you do not want that since it has too poor andlimited colors and color possibilities.
Therefore, once you are sure that your monitor, program and image settings are using the same color system and hence that what you see is what you are going to get, you can follow the rule of thumb above mentioned.
Also select and regulate the color system you use with adobe selecting from toolbar edit>color adjustments, and a window opens that permits you select the system RGB, CYMK, SRGB, as well as the referential standard scale to be use since there are different Japanese, European, American, and adobe color scales. Additionally you can modify in that window too the gray level.
For Red you use Cyan tones, for Greens > Magenta and for Yellows you use Blues and vice versa. Then you must see what looks better for you by regulating the tone slider first, then the saturation and finally the luminosity. Once you have obtained a correction that pleases you or that you think is acceptable you can correct it further using the variations window in Photoshop selecting from the toolbar Image > adjustments > variations which will present you in a window that has multiple screens that show very slight variations of the image that you already corrected and found acceptable. On the window, there is also a slider to regulate the degree of correction of shadows, mid tones, luminous areas and the general saturation of the image.
Remember too that the level of black and or white also affects the color and hence can be brightness, contrast and levels can be used as auxiliary to further regulate the photo - image.
Finally you can use the image > adjust > photographic filter command or directly create a new fill in layer with the color you want to use applying the rule of thumb by choosing layer>new lager>solid color and selecting then which solid color which you can superimpose over your photo-image and regulate the of mixing percentage or also a layer>new adjustment layer> and from the color correction, brightness etc. That creates a new layer window with your image that you can modify and then mix with the original etc
As you see there are many ways and many variables affecting color but first the basic is that, your monitor, program and printer use the same color system and are well balanced so you really see a "correct” output. Then you can do all the rest explained above.
Hope it helps
Santiago