Design

Light or Dark Website? Choosing Colors People Can Read

Light or dark matters less than whether people can read it. Contrast rules in plain words, where customers look at your site, and how real local sites do it.

Jesse Chesnut

Jesse Chesnut7 min readUpdated

Poster cover reading "Can They Read It?" with the Bar-B-Q King menu page on a laptop and a phone
On this page (10 sections)
  1. 01Start with a real before and after
  2. 02The contrast rules, in plain words
  3. 03Picture where your customer is standing
  4. 04When light wins, and when dark wins
  5. 05Most good sites are a bit of both
  6. 06One color for action
  7. 07Check your own colors in ten minutes
  8. 08Color is only half of it
  9. 09How I handle it on a build
  10. 10Quick answers

The short answer

Light or dark is the wrong first question. The right one is: can your customer read it where they are standing, and can they find the button? Dark sites and light sites can both do that, and both can fail. Most good business sites use a bit of each: a darker top that carries the brand, and light pages for the things people read.

Owners ask me "dark or light?" early, often before we talk about anything else. It is a fair question. Color is the first thing anyone notices. But it matters less than people think, and the part that does matter has real rules you can check in five minutes.

Start with a real before and after

Bar-B-Q King has served Lincolnton since 1971. Their old site was a busy mix: a red menu bar, a yellow logo, a blue banner, gray side panels, and body text in a light font on pale blue. Every color was fighting for attention, so nothing won.

Before
The old Bar-B-Q King website: a red menu bar over food photos, a yellow logo box, a blue Fresh Pit Smoked BBQ Since 1971 banner, a gray page with a pale blue text box and a Facebook feed on the side.
After
The new Bar-B-Q King website: a dark photo of the restaurant with Celebrating Fifty-Five Years in big cream letters, Lincolnton, NC in yellow, and two buttons, a yellow Get Your BBQ Fix and a cream Cater My Event.
Bar-B-Q King: same yellow from the sign, now saved for the buttons

The new one keeps the yellow from their sign, the color people in Lincolnton already know. But now it has a job. It is on the logo and the buttons, and almost nowhere else. The headline is big cream letters on a dark photo of the building. Your eye goes to the words, then to the yellow button. That is the whole trick.

The contrast rules, in plain words

The accessibility rules most of the web follows are called WCAG. For color, they come down to one number: the contrast ratio between the text and what is behind it.

TextMinimum ratioWhat it means
Normal body text4.5 to 1Paragraphs, menu items, prices, form labels
Large text3 to 1Big headlines, roughly 24 pixels and up, or bold text a bit smaller
Black on white21 to 1As high as it goes
#767676 gray on whiteAbout 4.5 to 1About the lightest gray that still passes for body text
The WCAG contrast rules most of the web follows

You never have to guess. Free tools like the WebAIM contrast checker give you the number for any two colors. Paste in your text color and your background color, and it tells you pass or fail.

Picture where your customer is standing

A lot of site visits around here happen outside. A homeowner in a Gastonia driveway in July, looking up a roofer in full sun. A parent at a ballfield in Denver checking if a shop is still open. Someone in a dark parking lot at night, looking for a locksmith.

Faint text fails all three. Thin gray type on a dark site washes out in glare. A bright white page feels harsh at night. Strong contrast and solid, plain letters work in both.

Freedom Locksmith is built for that last one. People often look at it at night, standing next to a locked car. So the first screen is the name, what they do and the number, big and bright on a sign, and it was checked on three phone sizes before it went live. More on that in mobile first design.

When light wins, and when dark wins

Dark works for

  • Bold brands: barbers, tattoo, auto and performance shops, bars
  • Portfolios, where photos pop off the page
  • Sites people mostly open at night
  • A header or hero that carries the brand

Light works for

  • Clean and bright work: cleaning, medical, dental, family services
  • Long reading: menus, price lists, guides
  • Products shot on white
  • The parts of any site people read a lot of

Wicked Kreations, the custom car shop in Lincolnton, is a good dark example. The inside of the shop on his site is at night, with a neon sign. That fits a rat rod builder. It would feel wrong for a pediatric dentist.

Wicked Kreations
The Wicked Kreations quote area on a laptop: a neon Wicked Kreations sign, the Fill 'er up card with a drawn gas pump, the shop hours and the steps Send it, Cody calls, Get a price.
Wicked Kreations: a dark shop, a cream quote card, and hours in bright type on dark

Look closer though. Even on his dark site, the quote card sits on cream with dark text, and the hours are big, bright letters on a dark card with plenty of room between rows. Dark can work fine when the type is strong. What fails is thin, dim text, on any background.

Most good sites are a bit of both

Smith Mine in Maiden works the same way. A dark bar up top, light pages and white cards for the price calculator, and one rust color for every button that gets a price or makes a call.

The header carries the mood of the brand. The parts people read stay easy on the eyes. You get the look and the readability.

One color for action

Whatever the background, pick one strong accent color and save it for the thing you want people to do: call, book, get a price. If half the page is orange, nothing stands out. If only the buttons are orange, the buttons are all anyone sees.

Check your own colors in ten minutes

  1. Find your three main colors

    Body text, the background behind it, and your button color. Right click on your site and use your browser's inspect tool, or ask whoever built it for the color codes.

  2. Run them through a contrast checker

    Search for the WebAIM contrast checker. Test body text on background, and button text on the button. You want 4.5 to 1 or better for normal text.

  3. Look at every word on a photo

    Text over a picture changes contrast across the picture. A dark layer behind the words, or moving the words off the photo, fixes it.

  4. Go outside

    Open your site in bright sun, then again at night. If you squint either time, so do your customers.

  5. Do the arm's length squint

    Your action color should win. If it does not, use it in fewer places.

Color, at a glance

  • Body text passes 4.5 to 1 against its background.
  • Button text passes on the button.
  • Words on photos have a dark layer or move off the photo.
  • One accent color, saved for actions.
  • Long reading, like menus and prices, sits on a light background.
  • It reads in sun and at night.

Color is only half of it

Text size, line length and buttons big enough for a thumb matter just as much, and mobile first design covers those. If you are planning motion or effects on a dark page, animation on a business website covers what helps and what hurts. And for the order of things on that first screen, see what to put on your homepage.

How I handle it on a build

Every site I build starts from a blank file in your colors, not a template. Light, dark or both is a choice we make together on the free preview of your home page, and you see it on your own phone before you pay anything. Websites start at $795, and the current numbers are always on the pricing page. You can see the range of looks on the work page.

Quick answers

Should my website be light or dark?

Pick the one your customers can read where they actually look at it, then match your brand. Most good business sites use both: a darker header that carries the brand, and light pages for anything people read a lot of.

What is a good contrast ratio for a website?

The common accessibility rules, called WCAG, ask for at least 4.5 to 1 between normal text and its background, and 3 to 1 for large text. Black on white is 21 to 1. A free checker like the one from WebAIM tells you the number for any two colors.

What is the lightest gray text I can use on white?

Around #767676 is about the lightest gray that still passes 4.5 to 1 on pure white. Anything lighter for body text fails the rule and gets hard to read outside.

Are dark websites harder to read?

Not if the text is bright enough and big enough. Thin gray text on dark gray is the problem, not dark backgrounds. Long pages of reading, like a menu or a price list, are usually easier on a light background.

  • Web Design
  • Color
  • Contrast
  • Accessibility
  • Branding
Jesse Chesnut

Written by

Jesse Chesnut

Jesse runs Waldo7Labs, a one person web studio in Iron Station, NC. He builds every site himself, from a blank file, for local businesses across Lincoln, Gaston, Catawba and Mecklenburg counties.

About Jesse Where the name comes from See the work