shibro
Show the version of “Status labels you can actually read”

Color & contrast · SU-45 · SU-48

Status labels you can actually read

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Paid badge #fff on #22c55e · 2.28:1
  • Pending badge #fff on #facc15 · 1.53:1
  • Paid badge 8.30:1 light · 7.52:1 dark
  • Pending badge 8.07:1 light · 7.45:1 dark

What changes

Bad
White on bright fills: #fff on #22c55e is 2.28:1, on #facc15 1.53:1 and on #ef4444 3.76:1, all below 4.5:1.
Good
Dark text on a pale tint of the same hue: 8.30:1, 8.07:1 and 8.20:1 in light, 7.52:1, 7.45:1 and 6.93:1 in dark.

The rules

  • SU-45

    Text contrast. Normal text ≥ 4.5:1, aiming for 7:1. Large text (≥24px, or ≥18.66px bold) ≥ 3:1.

  • SU-48

    Readable color (status badges). When a solid fill is too loud or fails contrast, flip it: dark text on a pale tint of the same hue.