Accessible orange color palette
Energetic and popular for calls to action, and a classic contrast failure.
Your brand colour
Try an example
What your colour can do
#f97316
Sits at step 400 of your scale
- ✕ FailWhite text on your colour: 2.8:1. Too faint for normal text (needs 4.5:1).
- ✓ PassBlack text on your colour: 7.49:1. Dark text works here.
Use black or very dark text on this colour, or step 600 (#b54f00) for white text. It keeps your hue and reaches 5.14:1.
Your colour scale
Eleven steps from very light to very dark, evenly spaced to the eye. Each tile shows the text colour that reads best on it.
50
#fff4ef
Black 19.44
100
#ffe7dc
Black 17.72
200
#ffcfb7
Black 14.86
300
#ffae85
Black 11.65
400 (your colour)
#f97316
Black 7.49
500
#de6200
Black 5.85
600
#b54f00
White 5.14
700
#923e00
White 7.21
800
#712e00
White 10.03
900
#521f00
White 13.51
950
#310e00
White 17.6
See the contrast numbers for every step
| Step | Colour | On white | On dark (#111111) |
|---|---|---|---|
| 50 | #fff4ef | 1.08:1 ✕ | 17.48:1 ✓ AA |
| 100 | #ffe7dc | 1.19:1 ✕ | 15.93:1 ✓ AA |
| 200 | #ffcfb7 | 1.41:1 ✕ | 13.36:1 ✓ AA |
| 300 | #ffae85 | 1.8:1 ✕ | 10.47:1 ✓ AA |
| 400 (yours) | #f97316 | 2.8:1 ✕ | 6.74:1 ✓ AA |
| 500 | #de6200 | 3.59:1 large text only | 5.26:1 ✓ AA |
| 600 | #b54f00 | 5.14:1 ✓ AA | 3.67:1 large text only |
| 700 | #923e00 | 7.21:1 ✓ AA | 2.62:1 ✕ |
| 800 | #712e00 | 10.03:1 ✓ AA | 1.88:1 ✕ |
| 900 | #521f00 | 13.51:1 ✓ AA | 1.4:1 ✕ |
| 950 | #310e00 | 17.6:1 ✓ AA | 1.07:1 ✕ |
Safe pairs to use
Picked from your scale so each one passes WCAG, with the ratio shown.
- Book now
Button with white text
The lightest step that still gives white text 4.5:1.
White on 6005.14:1 ✓ Pass
- Read the details
Links and text on white
Coloured text on a white page needs 4.5:1 too.
600 on white5.14:1 ✓ Pass
- Read the details
Links on a dark background
For dark mode or dark sections. The darkest step that still reads on near-black.
500 on dark5.26:1 ✓ Pass
- Input with a border
Borders, icons and focus rings
Parts of controls need 3:1 against what they sit on (WCAG 1.4.11).
500 on white3.59:1 ✓ Pass
- Callout text
Text on a light tint
Callouts and badges: a very light background with a dark step for the text.
950 on 5016.29:1 ✓ Pass
Take it with you
:root {
--orange-50: #fff4ef;
--orange-100: #ffe7dc;
--orange-200: #ffcfb7;
--orange-300: #ffae85;
--orange-400: #f97316;
--orange-500: #de6200;
--orange-600: #b54f00;
--orange-700: #923e00;
--orange-800: #712e00;
--orange-900: #521f00;
--orange-950: #310e00;
}
The short answer
Orange (#f97316) does not work with white text. The ratio is only 2.8:1, below the 4.5:1 needed for AA. Dark text works instead, at 7.49:1. If you want white text, use step 600 (#b54f00), which reaches 5.14:1.
Orange shades and their contrast
| Step | Colour | On white | On dark |
|---|---|---|---|
| 50 | #fff4ef | 1.08:1 ✕ | 17.48:1 ✓ AA |
| 100 | #ffe7dc | 1.19:1 ✕ | 15.93:1 ✓ AA |
| 200 | #ffcfb7 | 1.41:1 ✕ | 13.36:1 ✓ AA |
| 300 | #ffae85 | 1.8:1 ✕ | 10.47:1 ✓ AA |
| 400 (yours) | #f97316 | 2.8:1 ✕ | 6.74:1 ✓ AA |
| 500 | #de6200 | 3.59:1 large only | 5.26:1 ✓ AA |
| 600 | #b54f00 | 5.14:1 ✓ AA | 3.67:1 large only |
| 700 | #923e00 | 7.21:1 ✓ AA | 2.62:1 ✕ |
| 800 | #712e00 | 10.03:1 ✓ AA | 1.88:1 ✕ |
| 900 | #521f00 | 13.51:1 ✓ AA | 1.4:1 ✕ |
| 950 | #310e00 | 17.6:1 ✓ AA | 1.07:1 ✕ |
Questions about orange
Does orange work with white text?
Not at normal text sizes. Orange (#f97316) has a contrast ratio of 2.8:1 with white, below the 4.5:1 WCAG AA asks for. The nearest shade that works is step 600 (#b54f00) at 5.14:1.
Does black text work on orange?
Yes. Black on #f97316 is 7.49:1, which passes AA, so dark text is a good choice on this colour.
Which shade of orange should I use for links on a white page?
Use a step that reaches 4.5:1 on white. For orange that is step 600 (#b54f00), at 5.14:1.
Other colours
Is your live site using these colours well?
A free scan checks every colour pair on your page against WCAG 2.2 and shows what to fix.