How to find your paint code

How to Find Your Paint Code — On Any Can, In Any Room

The color name isn't enough. The code is what gets you the exact same color when you need to repaint.

5 min read last updated April 2026

table of contents

  1. What a paint code actually is
  2. Where to find it on the can
  3. Paint codes by brand
  4. What to do when you don't have the can
  5. How to save your paint codes so you always have them
  6. FAQ

What a paint code actually is

The color name on a paint can — "Agreeable Gray," "White Dove," "Naval" — is marketing. The paint code is the formula. It's the alphanumeric identifier that tells the mixing machine exactly how much of each pigment to add.

The distinction matters because color names can change, get discontinued, or get reformulated. The code is what you actually need to remix your exact wall color — even years later.

Think of it like a recipe. The name of the dish tells you what it is. The recipe tells you how to make it.

Where to find it on the can

On most paint cans, the code is on the lid — either printed by the manufacturer or added as a custom label sticker by the store when the color was mixed for you.

Look for a combination of letters and numbers. It may be labeled "Color Code," "Formula Number," or just printed alongside the color name with no label at all. On custom-mixed cans, the store often applies a sticker to the rim of the lid with the formula details.

If the lid sticker is missing or illegible, check the side of the can near the bottom — some brands print the base coat information there, which can help the store reconstruct the formula.

Paint codes by brand

Each major paint brand formats their codes differently. Here's what to look for:

Brand Code format Example Where to find it
Sherwin-Williams SW followed by 4 digits SW 7029 Lid label, or on the swatch card
Benjamin Moore BM or HC followed by numbers, or just a number HC-172 or 2163-40 Lid label or swatch
Behr (Home Depot) Letter + 3 digits + dash + 2 digits N510-4 Store sticker on lid
PPG (Lowe's) PPG followed by numbers PPG1025-3 Store sticker on lid
Valspar 4–6 digit number, sometimes with letter prefix 4003-1B Store sticker on lid

If you're not sure what brand was used, look at the base of the can — the manufacturer name and logo are usually there even if the color label has worn off.

save your paint codes now, not later

kept stores your paint color name, code, finish, and room — so you can remix the exact color in 10 seconds instead of 40 minutes of searching. Add your colors once, find them forever.

[ try kept free ]

What to do when you don't have the can

This is the situation most people end up in. The can got thrown out, it dried up, or you moved into a house and have no idea what was used.

Check your records first

Before assuming the code is gone, look in these places:

If the code is truly gone: the paint chip method

Cut a small piece of paint from a hidden area — behind an outlet cover, inside a closet, behind a door. Take it to any paint or hardware store with a spectrophotometer. They'll scan the chip and mix the closest match. This accounts for the wall's age and fade, which actually makes it more accurate than using an old formula on a faded wall anyway.

Shop: paint touch-up supplies on Amazon

Use a color-matching app as a starting point

Apps like Sherwin-Williams ColorSnap or Benjamin Moore Color Portfolio can scan your wall and suggest the closest match in their catalog. They're not precise — lighting throws them off — but they can give you a color name and code to start from, which you can verify with a physical chip.

How to save your paint codes so you always have them

The frustrating part about paint codes is that they're completely findable — right now, while you're looking at the can — and completely unfindable three years later when you need them.

The solution is simple: the moment you finish a paint job, save the code. You want to capture:

kept stores all of this for every room in your house. The next time you need to repaint, touch up a scuff, or tell a contractor what color was used — it's there in under 10 seconds.

your paint codes. always there when you need them.

Add your paint colors to kept once. Pull up any room's color name, code, finish, and brand instantly — no more digging through garages, no more guessing.

[ save your paint codes ]

frequently asked questions

What is a paint code?

A paint code is the alphanumeric identifier that stores the exact formula for a specific color. For example, Sherwin-Williams Agreeable Gray is SW 7029. Any store that carries that brand can use the code to remix the exact same color.

Where is the paint code on a can?

On most paint cans, the code is on the label on the lid — printed either by the manufacturer or added by the store as a custom sticker when the color was mixed. Look for a combination of letters and numbers. On Sherwin-Williams it starts with SW, Benjamin Moore with BM or HC, Behr with a letter-number combo like N510-4.

Can I find my paint code without the can?

Sometimes. Check old email receipts from the paint store, photos you took of the can, or your contractor's records. If you can't find the code, the next best option is a physical paint chip taken to a store with a spectrophotometer for color matching.

Are paint codes universal between brands?

No. Paint codes are brand-specific. A Sherwin-Williams SW 7029 cannot be directly remixed at a Benjamin Moore store using that code. However, many paint stores can cross-reference colors between brands and find the closest match.

What's the difference between a paint code and a color name?

The color name (like Agreeable Gray or White Dove) is the marketing label. The paint code is the formula identifier. You need the code — not just the name — to remix the exact color, because brands occasionally update formulas under the same name.