
utilities
Flexbox Froggy
Learn CSS Flexbox through 24 interactive coding puzzles with frogs.
#flexbox#learning#interactive
Check foreground/background colour pairs against WCAG 2.1 AA (4.5:1) and AAA (7:1) standards. See the contrast ratio instantly, preview real text at multiple sizes, and auto-fix failing pairs with one click.
Foreground (text)
Background
The quick brown fox jumps over the lazy dog.
Normal text — Body copy
The quick brown fox jumps over the lazy dog.
Large text — ≥18pt or ≥14pt bold
The quick brown fox jumps over the lazy dog.
Heading — H1–H3
The quick brown fox jumps over the lazy dog.
UI element — Buttons, labels
Use the colour picker or click a palette swatch for foreground and background. Hex input also supported.
The contrast ratio updates live. Green = AAA pass, yellow = AA only, red = fail.
Click 'Auto-fix to AA' and the tool adjusts the foreground colour to the nearest WCAG AA-passing value.
Grab the --color-foreground and --color-background CSS variable snippet at the bottom.
From our directory of 30+ CSS tools.
Know a great CSS tool?
Submit it to the directory and help developers discover it.