It’s easily possible with MagicPicker! In the Color Temperature Wheel mode switch on Tone Lock and start shifting the slider on the wheel. This option lets you quickly find corresponding colors having the same brightness for lights and shadows or for foreground and background. Or keep the same brightness level across the surface when editing textures.
MagicPicker is the advanced color picking plugin and color wheel for Adobe Photoshop & Illustrator