Skip to content
Agents tracked: 492 Releases (7d): 545 Agent status: 1 with issuesSince last limit reset: Claude 9d · Codex 7d For AI agents: Markdown Updated Nov 20, 2026

Tailwind CSS Colors

by Tailwind Labs

The default Tailwind CSS color palette: 26 hues in 11 shades each (including taupe, mauve, mist and olive in tailwindcss 4.3.5), defined as OKLCH CSS variables in the MIT-licensed framework.

Color palettes and gradients Code libraryOpen source

GitHub repoWebsite
All 26 color families in 11 shades each, next to a report card with status labels, three buttons and the same card in dark mode, all colored only with palette values.
Made by AgentGid with tailwindcss 4.3.5 (npm), theme.css color values only. Tailwind CSS is under the MIT license, which allows showing and copying the colors; the MIT notice stays with copies of the file. No Tailwind logo is used.

2. Commercial use: LICENSE on GitHub

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software”

MIT allows use in paid products; no visible credit is needed.

LICENSE on GitHub

License checked Nov 9, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error

Tailwind CSS Colors: a ready color palette for sites

Tailwind CSS Colors is the free set of colors that comes with Tailwind CSS, a popular toolkit for styling websites. It has 26 color families, from red and blue to several grays, each in 11 shades from very light (50) to very dark (950). You or your AI assistant pick a color by name, like sky-500, so buttons, labels and dark mode match without a designer.

Where you can use it

Status labels in an app

Give each state its own color family: green for done, amber for waiting, rose for blocked. A light shade for the background and a dark one for the text keeps the label readable.

A dark version of the page

Write a second color for dark mode next to the first one, like a white card that turns dark gray. The page switches when the visitor's system is in dark mode.

Your brand color next to the defaults

Add your own brand colors under a name like midnight, and they work everywhere the built-in colors do.

Matching colors in your own styles

The same colors are also named values you can use in your own style rules, for example a link color in an article. Everything stays in one palette.

The palette on a page without Tailwind Idea

Copy the color values into a plain page or an email template that does not use Tailwind. Keep the license notice with the copied file.

Colors for charts and dashboards Idea

Give each line or bar in a chart its own family at the same shade, like blue-500, emerald-500 and amber-500. They look equally strong and easy to tell apart.

As reported by Tailwind Labs: Every color has 11 steps, from 50 (lightest) to 950 (darkest).

Tailwind CSS Colors popularity

89 / 100
Gid Score, same scale as developer tools
98,647
GitHub stars
187.5M
npm downloads, last 7 days
+14.1% in 4 weeks
1,930
AI-agent projects using it, from our repo scan of 4,799
Tailwind CSS Colors: downloads per weeknpm, tailwindcss 182,099,083
Tailwind CSS Colors: GitHub starstailwindlabs/tailwindcss 98,647

Downloads from api.npmjs.org, stars from GitHub, checked Nov 19, 2026. How the Gid Score is calculated

How to start

Tell your AI assistant

“Use the Tailwind CSS default palette for this page: zinc for text and borders, indigo-600 for the main button, emerald, amber and rose 100/800 for status labels, and add dark: colors for dark mode; write full class names, never build them from variables.”

Or install it yourself. In a Vite project, install Tailwind and its Vite plugin (the docs also cover other setups and a quick in-browser trial).

npm install tailwindcss @tailwindcss/vite
Show codeStep 1 or Step 2

Import Tailwind in your main style file; the whole color palette comes with it.

@import "tailwindcss";

Mistakes to avoid

className={`bg-${color}-600 hover:bg-${color}-500`}
Map each prop to full class names: const colorVariants = { blue: "bg-blue-600 hover:bg-blue-500", red: "bg-red-600 hover:bg-red-500" }

Tailwind reads files as plain text, so classes glued together at run time are never generated and the color is missing.

Add colors under theme.extend.colors in tailwind.config.js (the v3 way) and expect v4 to read it
Define them in CSS with @theme { --color-brand-500: ... }, or load the old file explicitly with @config

Version 4 no longer finds a JavaScript config file on its own.

Put new color variables in :root or inside a media query and expect bg-brand-500 to exist
Use a top-level @theme block for colors that need classes; keep :root for plain variables

Only theme variables create classes, and they must be at the top level.

Ship the Play CDN script tag on a live site
Install tailwindcss with the Vite plugin, the PostCSS plugin or the Tailwind CLI so a static style file is built

The Play CDN is for trying things in the browser only.

Treat the hex code copied from the docs as the exact color
Use the OKLCH value (or var(--color-sky-500)) when the exact color matters; hex is the nearest match

The palette is defined in OKLCH and the docs copy only the nearest hex.

License

MIT license. Free for personal and paid products under the MIT license, with no visible credit needed. If you copy the file with the color values, keep its short license notice; do not use the Tailwind name or logo as if your product were official.

Commercial use
Yes

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software” LICENSE on GitHub

Credit
Not needed

“The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” LICENSE on GitHub

Inside your app or game
Can ship inside your app

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software” LICENSE on GitHub

Pass the files on to your users
With conditions

Passing the color file on is allowed with the MIT notice kept; do not name your product so it looks official.

“You may not use the Tailwind name or logos in any way that could mistakenly imply any official connection with or endorsement of Tailwind Labs Inc.” tailwindcss.com/brand

AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is Tailwind CSS Colors free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with Tailwind CSS Colors. Paste them into your prompt or AGENTS.md.

License rules
- Tailwind CSS Colors (Color palettes and gradients). The default Tailwind CSS color palette: 26 hues in 11 shades each (including taupe, mauve, mist and olive in tailwindcss 4.3.5), defined as OKLCH CSS variables in the MIT-licensed framework. Price: free; commercial use OK; no credit needed.
  Connect: npm tailwindcss.
  Rule: Keep the MIT copyright notice if you copy the theme.css file itself.
  Rule: Do not use the Tailwind name or logo to imply endorsement (see the Tailwind trademark policy).
  License: https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE (checked 2026-11-09; details: https://agentgid.com/assets/tailwind-css-colors/)
Can an agent use it by itself?
Yes.

Agent installs a package or loads it from a CDN.

Install
npm install tailwindcss
API, key or account
Not needed. Everything runs on your side.
MCP server
None found
Credit line, if you want one
Colors: Tailwind CSS default palette (MIT)
This card for machines

Alternatives

Tailwind CSS Colors This page

Free Commercial OK npm

Radix Colors

Pick Radix Colors when you want 12-step scales built for accessible contrast, with see-through and dark mode versions of every color.

Free Commercial OK npm

Open Color

Pick Open Color for a smaller open palette of 13 hues in 10 shades, with downloads for Sass, Less and design apps.

Free Commercial OK npm

Realtime Colors

Pick Realtime Colors when you want to try your own text, background and accent colors on a sample website before choosing.

Free Commercial OK Download

uiGradients

Community collection of multi-color gradients; all data is in one gradients.json file in the GitHub repo, plus a browsing site.

Free Commercial OK Download

Colormind

AI palette generator trained on photos, movies and art, with a simple JSON HTTP API that returns 5-color palettes.

Free With conditions API

All color palettes and gradients

Questions

Can I use the Tailwind colors in a paid product or a client site?

Yes. Tailwind CSS is under the MIT license, which allows using, copying and selling copies; keep the license notice if you copy the file itself.

How many shades does each color have?

Eleven, numbered 50, 100, 200 and so on up to 900 and 950; 50 is the lightest and 950 the darkest.

Can I change a built-in color or add my own?

Yes. Define a color with the same name to replace a default one, or a new name to add one; both go in the @theme block of your style file.

Where do I get hex codes?

On the colors page of the docs, shift+click a swatch to copy the nearest hex value; the original values are OKLCH.

Can I make a color see-through?

Yes. Add a slash and a number to the class, like bg-black/75 for 75 percent.