A design that reads well on a light background can fall apart in dark mode: dark green text on a near-black surface, a logo that blends into the background, a grey caption that was already faint and is now invisible. Dark mode is not the light theme inverted — it is a second set of colors for the same roles. Check the design in dark mode before you publish it, pair by pair.
What dark mode changes
Apple’s Human Interface Guidelines say that in Dark Mode the system uses a dark color palette for all screens, views, menus, and controls, and that these colors are not necessarily inversions of their light counterparts: while many colors are inverted, some are not. Apple advises using colors that adapt to the current appearance, giving each custom color a bright and a dim variant, and avoiding hard-coded color values that do not adapt. Apple also warns to test content so it remains comfortably legible in both appearance modes, including with Increase Contrast and Reduce Transparency turned on, both separately and together — dark text on a dark background can become less legible in that combination.
The contrast bar does not drop in dark mode. Apple says to aim for a contrast ratio of at least 4.5:1, and for custom foreground and background colors to strive for 7:1, especially in small text. The same 4.5:1 mark applies to body text in WCAG’s contrast guidance, with 3:1 for large text and for icons and other non-text elements.
Check the Maple Corner design in dark mode
Expected result. We checked Apple’s Dark Mode guidelines and the W3C contrast guidance. We did not run any design tool on the Maple Corner design.
The table below is fictional practice material. The dark surface is #26221C, Maple Corner’s dark text color reused as the dark background. The ratios were calculated from the stated hex pairs with the WCAG relative-luminance formula.
Practice dark-mode check: fictional Maple Corner design on #26221C
| Element | Text or icon color | Background | Contrast ratio | Result |
|---|---|---|---|---|
| Headline “Maple Corner” | #F7F1E6 cream | #26221C | 14.07:1 | Pass |
| Order button text | #26221C dark | #E8A33D amber | 7.33:1 | Pass — meets the 7:1 aim for small text |
| Accent line “Autumn menu” | #E8A33D amber | #26221C | 7.33:1 | Pass |
| Secondary text “Open daily” | #8A8175 grey | #26221C | 4.12:1 | Fail — below 4.5:1; lighten the grey |
| Leaf logo | #2F6B4F green | #26221C | 2.51:1 | Fail — below 3:1 for non-text; use a light logo variant |
| Footer “12 Maple Lane” | #B8AE9C light grey | #26221C | 7.21:1 | Pass |
Four of the six pairs pass, and two fail. The secondary grey at 4.12:1 is below the 4.5:1 mark for body text, and the dark green leaf logo at 2.51:1 is below even the 3:1 mark for non-text elements — on a dark background it nearly disappears. Both need a lighter variant: lighten the grey until it passes 4.5:1, and draw a light version of the logo for dark surfaces, as Apple advises — use the same asset if it looks good in both appearances, and if an asset looks good in only one mode, modify it or create separate light and dark assets.
How to run the check on your own design
Switch the appearance to dark and look at every screen, not just the homepage: a pair that passes on the page background can fail on a raised card, because the card surface is lighter. Check text on every surface it actually sits on. Check images and illustrations too — Apple notes that a full-color image with a white background can glow in a dark context, and suggests slightly darkening it. Then turn on Increase Contrast and Reduce Transparency and look again. If a pair passes in plain dark mode but fails with those settings on, it still needs fixing.
Limits
- No design tool was run on the Maple Corner design, and Maple Corner is fictional. The table above is the expected result for the practice colors, calculated with the WCAG formula, not a test of any product.
- This guide checks a static design in dark mode. It does not check how a live app switches appearances, and it does not cover the Auto appearance setting that switches while an app is running.
- Apple’s guidance is written for apps on iOS, iPadOS, macOS, and tvOS; dark mode is not supported in visionOS or watchOS. The contrast marks used here — 4.5:1 and 7:1 — come from Apple and WCAG, and apply to text and icons in any design.
- It does not check color-blind safety or motion; those are separate checks.
Sources
- Dark Mode — Apple Human Interface Guidelines — “The color palette in Dark Mode includes dimmer background colors and brighter foreground colors. It’s important to realize that these colors aren’t necessarily inversions of their light counterparts.” “Embrace colors that adapt to the current appearance.” “Test your content to make sure that it remains comfortably legible in both appearance modes.” “Aim for sufficient color contrast in all appearances. At a minimum, make sure the contrast ratio between colors is no lower than 4.5:1. For custom foreground and background colors, strive for a contrast ratio of 7:1, especially in small text.” “Make sure full-color images and icons look good in both appearances. Use the same asset if it looks good in both the light and dark appearances. If an asset looks good in only one mode, modify the asset or create separate light and dark assets.”
- Understanding Success Criterion 1.4.3: Contrast (Minimum) — W3C — the visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except large-scale text, which has a contrast ratio of at least 3:1; “Some people cannot read faint text.”
