Berildocs GitHub

Memory cards

Contrast is a ratio, and color is not the only cue

confidence: mediumupdated: 2026-11-25status: activeaccessibilitycontrastcolor

Claim#

Text needs 4.5:1 for normal size. A chart needs a pattern or a label, not only hue.

Test#

Measure the ratio. Convert to grayscale. Check the non-color cue.

Proof#

A passing ratio and a second cue.

Failure modes#

A large text threshold is lower, not optional. A border can carry the cue.