BCGControlBar Pro for MFC
BOOL CBCGPColor::IsLight ( ) const

Tells whether the color is a light.