jcj2249 Should not they be : WB_R = 50 and WB_B = 50 ?
Nope.
In case it is what you are thinking, WB is to adjust the post-Bayer values, not to compensate for Bayer. I.e., WB is applied to an image that has already been previously deBayered to a native RGB image before white balancing.
The white balance factors are there to adjust for sensor efficiencies of the red and blue parts of the spectrum. The blue part of most sensors are typically deficient, and usually need a lot of boost.
If you want a daylight color balance, for example, just point the camera at a Kodak gray card under noonday Sun. Then adjust the "WB" values so that the red, green and blue historgrams line up moderately well. Most people don't bother, and they just wing it by adjusting the historgrams so that the light from a planet itself is white balanced.
https://www.kodak.com/en/motion/page/gray-cards
By the way, if you are OCD (or do photography seriously) and get a gray card, make sure you store a Kodak gray card under wraps when not in use, otherwise it will change "grayness" over time. Mine is well over 20 years old now, and still usable.
Chen