Color


Custom background color


Threshold


Luminance formula

R, G, B: raw 0..1; r, g, b: sRGB squared (see W3C docs for details)

Fast: 0.25R + 0.65G + 0.1B
W3C: √(0.2126r + 0.7152g + 0.0722b) *
Darel Rex Finley's HSP: √(0.299R² + 0.587G² + 0.114B²) *

? - use ? text or background

Lorem ipsum dolor sit amet, consectetuer adipscing elit.
Lorem ipsum dolor sit amet, consectetuer adipscing elit.

? : 1 - ?

WCAG AA:
WCAG AAA:
Lorem ipsum dolor sit amet, consectetuer adipscing elit.
Lorem ipsum dolor sit amet, consectetuer adipscing elit.
Coded with ♥ by Haley Halcyon