def get_label_yml(label):
    """Get yml format for label

    Args:
        label (dict): dictionnary if labels with keys color, name and description
        as strings, possibly empty

    Returns:
        str: yml formatted dict, as a yml list item
    """
    text = f'  - name: "{label["name"]}"\n'
    text += f'    color: "{label["color"]}"\n'
    text += f'    description: "{label["description"]}"\n'
    return text