Orange on White: Contrast Check

Orange (#FFA500) on white (#FFFFFF) has a 1.97:1 contrast ratio. It fails AA for both normal and large text.

Your colors

rgb(255, 165, 0)

rgb(255, 255, 255)

Use HEX, RGB, HSL or a CSS color name, without transparency.

Text preview

Skip preview

Normal text · 16 px

This is how your text will look.

Large text · 32 px

A little contrast matters.

Large text: at least 18 pt regular or 14 pt bold.

1.97:1

Text contrast ratio

Below AA for normal text.

AA · Normal text

4.5:1 required

Fail

AA · Large text

3:1 required

Fail

AAA · Normal text

7:1 required

Fail

AAA · Large text

4.5:1 required

Fail

Pass or fail uses the unrounded ratio.

WCAG 2.2 · SC 1.4.3 and 1.4.6 · Opaque sRGB text pairs

Large text: at least 18 pt regular or 14 pt bold.

View calculation

Foreground luminance: 0.48170267036309633. Background luminance: 1. Ratio = (lighter + 0.05) / (darker + 0.05) = 1.9747879003183522. Thresholds use this unrounded value.

Open in palette builder →

Supported color inputs and errors →

Using orange on white

Orange text on white has weak contrast. Reversing it into a white-on-orange button does not improve the ratio; try a darker label if you need to keep the orange fill.

WCAG text contrast results

Text criterionRequired ratioResult
AA normal text4.5:1Fail
AA large text3:1Fail
AAA normal text7:1Fail
AAA large text4.5:1Fail

This pair fails AA for both normal and large text. The displayed ratio is rounded to two decimal places; every decision uses the full calculation.

Choose the result for your text size

A 16 px regular label uses the normal-text result. A 24 px regular heading qualifies as large text. This pair needs different colors for either AA category. If a small label fails, try a different color before making the label larger.

.pair-example {
  color: #FFA500;
  background-color: #FFFFFF;
  font-size: 16px;
}

Try the reverse pair

Use Swap colors to put white text on orange. The ratio remains 1.97:1, but the page can feel very different when most of it becomes orange. Check the new arrangement with real text and the surrounding layout.

Sources and further reading