This method should be called when you want to check the contrast color
from your text color and your background color
paramsfontSize for the text font sizes
paramstextColor for the text color
paramsbackgroundColor for the text background color
paramswcag for the contrast type do you want, WCAG.AA or WCAG.AAA