Tailwind CSS v3.4 color family
Tailwind neutral 11 shades, 50 to 950
Neutral is one of the 22 color families in Tailwind CSS v3.4, with eleven shades from 50 to 950. Its 500 shade, #737373, is a near-neutral gray, with OKLCH chroma 0.000. Lightness runs from 0.985 at 50 to 0.145 at 950.
- 500 shade
- #737373
- OKLCH hue at 500
- —
- Body text on white
- 500 to 950
- Body text on black
- 50 to 400
Tailwind CSS 4.3.3
neutral: current colors
11 shades with exact official OKLCH values. Use bg-neutral-500, text-neutral-500 or border-neutral-500 in Tailwind. Wide-gamut colors are preserved; these are not the v3 hex values.
| Color | Exact OKLCH | CSS variable |
|---|---|---|
| neutral-50 | oklch(98.5% 0 none) | --color-neutral-50 |
| neutral-100 | oklch(97% 0 none) | --color-neutral-100 |
| neutral-200 | oklch(92.2% 0 none) | --color-neutral-200 |
| neutral-300 | oklch(87% 0 none) | --color-neutral-300 |
| neutral-400 | oklch(70.8% 0 none) | --color-neutral-400 |
| neutral-500 | oklch(55.6% 0 none) | --color-neutral-500 |
| neutral-600 | oklch(43.9% 0 none) | --color-neutral-600 |
| neutral-700 | oklch(37.1% 0 none) | --color-neutral-700 |
| neutral-800 | oklch(26.9% 0 none) | --color-neutral-800 |
| neutral-900 | oklch(20.5% 0 none) | --color-neutral-900 |
| neutral-950 | oklch(14.5% 0 none) | --color-neutral-950 |
Source: Tailwind CSS 4.3.3 theme.css (MIT). Values are pinned to this release. Older v3 reference values below are kept separately for existing projects.
Scale
Every shade, 50 to 950
Each shade has a page of its own. Under each, white and black text on it; a bold figure passes 4.5:1.
Values
Hex, RGB and OKLCH values
The Tailwind CSS v3.4 values, with the contrast of white and black text on each shade.
| Shade | HEX | RGB | OKLCH | White text | Black text |
|---|---|---|---|---|---|
| neutral-50 | #FAFAFA | rgb(250, 250, 250) | oklch(0.985 0.000 0) | 1.04 | 20.11 |
| neutral-100 | #F5F5F5 | rgb(245, 245, 245) | oklch(0.970 0.000 0) | 1.09 | 19.26 |
| neutral-200 | #E5E5E5 | rgb(229, 229, 229) | oklch(0.922 0.000 0) | 1.25 | 16.67 |
| neutral-300 | #D4D4D4 | rgb(212, 212, 212) | oklch(0.870 0.000 0) | 1.48 | 14.16 |
| neutral-400 | #A3A3A3 | rgb(163, 163, 163) | oklch(0.715 0.000 0) | 2.52 | 8.32 |
| neutral-500 | #737373 | rgb(115, 115, 115) | oklch(0.556 0.000 0) | 4.74 | 4.42 |
| neutral-600 | #525252 | rgb(82, 82, 82) | oklch(0.439 0.000 0) | 7.81 | 2.68 |
| neutral-700 | #404040 | rgb(64, 64, 64) | oklch(0.371 0.000 0) | 10.36 | 2.02 |
| neutral-800 | #262626 | rgb(38, 38, 38) | oklch(0.269 0.000 0) | 15.13 | 1.38 |
| neutral-900 | #171717 | rgb(23, 23, 23) | oklch(0.205 0.000 0) | 17.92 | 1.17 |
| neutral-950 | #0A0A0A | rgb(10, 10, 10) | oklch(0.145 0.000 0) | 19.79 | 1.06 |
Legibility
Which shades pass on each other
Every shade as text on every other shade. 48 of 110 pairings pass 4.5:1 for body text, and 16 more pass 3:1 for large text.
| Text shade, then background shade | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 50 | same shade | 1.04 | 1.20 | 1.42 | 2.41 | 4.54 | 7.48 | 9.93 | 14.49 | 17.17 | 18.96 |
| 100 | 1.04 | same shade | 1.15 | 1.35 | 2.31 | 4.34 | 7.16 | 9.51 | 13.88 | 16.44 | 18.15 |
| 200 | 1.20 | 1.15 | same shade | 1.17 | 2.00 | 3.76 | 6.20 | 8.23 | 12.01 | 14.23 | 15.71 |
| 300 | 1.42 | 1.35 | 1.17 | same shade | 1.70 | 3.19 | 5.27 | 6.99 | 10.20 | 12.09 | 13.35 |
| 400 | 2.41 | 2.31 | 2.00 | 1.70 | same shade | 1.87 | 3.09 | 4.11 | 5.99 | 7.10 | 7.84 |
| 500 | 4.54 | 4.34 | 3.76 | 3.19 | 1.87 | same shade | 1.64 | 2.18 | 3.19 | 3.78 | 4.17 |
| 600 | 7.48 | 7.16 | 6.20 | 5.27 | 3.09 | 1.64 | same shade | 1.32 | 1.93 | 2.29 | 2.53 |
| 700 | 9.93 | 9.51 | 8.23 | 6.99 | 4.11 | 2.18 | 1.32 | same shade | 1.45 | 1.72 | 1.90 |
| 800 | 14.49 | 13.88 | 12.01 | 10.20 | 5.99 | 3.19 | 1.93 | 1.45 | same shade | 1.18 | 1.30 |
| 900 | 17.17 | 16.44 | 14.23 | 12.09 | 7.10 | 3.78 | 2.29 | 1.72 | 1.18 | same shade | 1.10 |
| 950 | 18.96 | 18.15 | 15.71 | 13.35 | 7.84 | 4.17 | 2.53 | 1.90 | 1.30 | 1.10 | same shade |
Rows are the text shade, columns the background. A bold figure on a tinted cell passes 4.5:1 for body text; a plain one passes 3:1 for large text only; a faint one fails.
Color vision
The scale with color blindness
The same eleven shades as seen with each color vision deficiency. Lightness keeps a ramp in order even where its hue collapses.
Simulated with Machado et al. (2009) at full severity, in linear light.
What each type seesTypical vision
Closest neighbors: 50 and 100, ΔE2000 1.0
Protanopia
Closest neighbors: 50 and 100, ΔE2000 1.0
Deuteranopia
Closest neighbors: 50 and 100, ΔE2000 1.0
Tritanopia
Closest neighbors: 50 and 100, ΔE2000 1.0
Achromatopsia
Closest neighbors: 50 and 100, ΔE2000 1.0
Code
Design tokens
The whole family in six formats, ready to paste.
:root {
--color-neutral-50: #fafafa;
--color-neutral-100: #f5f5f5;
--color-neutral-200: #e5e5e5;
--color-neutral-300: #d4d4d4;
--color-neutral-400: #a3a3a3;
--color-neutral-500: #737373;
--color-neutral-600: #525252;
--color-neutral-700: #404040;
--color-neutral-800: #262626;
--color-neutral-900: #171717;
--color-neutral-950: #0a0a0a;
}
// tailwind.config.js — neutral is built in; this pins the v3.4 values.
module.exports = {
theme: {
extend: {
colors: {
neutral: {
50: '#fafafa',
100: '#f5f5f5',
200: '#e5e5e5',
300: '#d4d4d4',
400: '#a3a3a3',
500: '#737373',
600: '#525252',
700: '#404040',
800: '#262626',
900: '#171717',
950: '#0a0a0a',
},
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
/* v4 has its own neutral; these pin the v3 values. */
--color-neutral-50: oklch(0.985 0.000 0);
--color-neutral-100: oklch(0.970 0.000 0);
--color-neutral-200: oklch(0.922 0.000 0);
--color-neutral-300: oklch(0.870 0.000 0);
--color-neutral-400: oklch(0.715 0.000 0);
--color-neutral-500: oklch(0.556 0.000 0);
--color-neutral-600: oklch(0.439 0.000 0);
--color-neutral-700: oklch(0.371 0.000 0);
--color-neutral-800: oklch(0.269 0.000 0);
--color-neutral-900: oklch(0.205 0.000 0);
--color-neutral-950: oklch(0.145 0.000 0);
}
{
"color": {
"neutral": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.9804, 0.9804, 0.9804],
"hex": "#fafafa"
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.9608, 0.9608, 0.9608],
"hex": "#f5f5f5"
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.898, 0.898, 0.898],
"hex": "#e5e5e5"
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.8314, 0.8314, 0.8314],
"hex": "#d4d4d4"
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.6392, 0.6392, 0.6392],
"hex": "#a3a3a3"
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.451, 0.451, 0.451],
"hex": "#737373"
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.3216, 0.3216, 0.3216],
"hex": "#525252"
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.251, 0.251, 0.251],
"hex": "#404040"
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.149, 0.149, 0.149],
"hex": "#262626"
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.0902, 0.0902, 0.0902],
"hex": "#171717"
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.0392, 0.0392, 0.0392],
"hex": "#0a0a0a"
}
}
}
}
}
import SwiftUI
enum Palette {
static let neutral50 = Color(.sRGB, red: 0.980, green: 0.980, blue: 0.980, opacity: 1)
static let neutral100 = Color(.sRGB, red: 0.961, green: 0.961, blue: 0.961, opacity: 1)
static let neutral200 = Color(.sRGB, red: 0.898, green: 0.898, blue: 0.898, opacity: 1)
static let neutral300 = Color(.sRGB, red: 0.831, green: 0.831, blue: 0.831, opacity: 1)
static let neutral400 = Color(.sRGB, red: 0.639, green: 0.639, blue: 0.639, opacity: 1)
static let neutral500 = Color(.sRGB, red: 0.451, green: 0.451, blue: 0.451, opacity: 1)
static let neutral600 = Color(.sRGB, red: 0.322, green: 0.322, blue: 0.322, opacity: 1)
static let neutral700 = Color(.sRGB, red: 0.251, green: 0.251, blue: 0.251, opacity: 1)
static let neutral800 = Color(.sRGB, red: 0.149, green: 0.149, blue: 0.149, opacity: 1)
static let neutral900 = Color(.sRGB, red: 0.090, green: 0.090, blue: 0.090, opacity: 1)
static let neutral950 = Color(.sRGB, red: 0.039, green: 0.039, blue: 0.039, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Neutral50 = Color(0xFFFAFAFA)
val Neutral100 = Color(0xFFF5F5F5)
val Neutral200 = Color(0xFFE5E5E5)
val Neutral300 = Color(0xFFD4D4D4)
val Neutral400 = Color(0xFFA3A3A3)
val Neutral500 = Color(0xFF737373)
val Neutral600 = Color(0xFF525252)
val Neutral700 = Color(0xFF404040)
val Neutral800 = Color(0xFF262626)
val Neutral900 = Color(0xFF171717)
val Neutral950 = Color(0xFF0A0A0A)
}
Families
Other Tailwind families
The rest of the Tailwind CSS v3.4 palette, in the order Tailwind lists it.