def use_white_text(color):
    """ Following W3C guidelines, when the luminance is bigger than 0.179, the text should be blank,
        white otherwise. """
    luminance = 0.2126 * color[0] + 0.7152 * color[1] + 0.0722 * color[2]
    return luminance <= 0.179