Tailwind CSS v4 default palette
Tailwind taupe-600: #5B4F4B
In Tailwind CSS v4, taupe-600 is defined as --color-taupe-600: oklch(43.8% 0.017 39.3), which is #5B4F4B in hex and rgb(91, 79, 75): a dark, grayish brown.
In OKLCH, taupe-600 has a lightness of 43.8%, chroma 0.017 and hue 39.3°.
The value fits inside sRGB, so the hex #5B4F4B represents it without loss on any screen.
Tailwind taupe is a tinted neutral added in v4.2: a warm gray with a brown cast. It has no v3 equivalent.
Color codes for taupe-600
| Tailwind v4 token | --color-taupe-600 |
|---|---|
| OKLCH (source value) | oklch(43.8% 0.017 39.3) |
| HEX | #5B4F4B |
| RGB | rgb(91, 79, 75) |
| HSL | hsl(15, 10%, 33%) |
| HWB | hwb(15 29% 64%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 13%, 18%, 64%) |
| Decimal | 5,984,075 |
| Utility classes | bg-taupe-600, text-taupe-600, border-taupe-600 |
Tailwind taupe scale
Contrast and accessibility
On taupe-600, white text has a contrast ratio of 7.88:1 and passes AAA at any text size; black text reaches 2.66:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on taupe-600 | 2.66:1 | Fail | Fail | Fail | Fail | 16.6 |
| White text on taupe-600 | 7.88:1 | Pass | Pass | Pass | Pass | −92.1 |
| Taupe-600 text on white | 7.88:1 | Pass | Pass | Pass | Pass | 87.4 |
| Taupe-600 text on black | 2.66:1 | Fail | Fail | Fail | Fail | −14.8 |
Tints and shades
Each step mixes var(--color-taupe-600) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-taupe-600), white 25%) in CSS.
Tints (mixed with white)
- 5%
#635854 - 15%
#746966 - 25%
#847b78 - 35%
#948d8a - 45%
#a59e9c - 55%
#b5b0ae - 65%
#c6c1c0 - 75%
#d6d3d2 - 85%
#e6e5e4 - 95%
#f7f6f6
Shades (mixed with black)
- 5%
#564b47 - 15%
#4d4340 - 25%
#443b38 - 35%
#3b3331 - 45%
#322b29 - 55%
#292422 - 65%
#201c1a - 75%
#171413 - 85%
#0e0c0b - 95%
#050404
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, taupe-600's complementary color is #485458 (close to darkslategray), its analogous colors are #5B4E50 and #585048, and its triadic partners are #4A554F and #50515B. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #485458 |
| Analogous | −30°, +30° | #5b4e50#585048 |
| Triadic | +120°, +240° | #4a554f#50515b |
| Split-complementary | +150°, +210° | #485554#4b535b |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Tailwind taupe-600 is close to neutral: its OKLCH chroma is only 0.017, so its temperature comes from context. The faint 15° hue gives it a slightly warm cast.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| darkslategray | #2f4f4f | 6.4 |
| dimgray | #696969 | 8.5 |
| saddlebrown | #8b4513 | 10.1 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| stone-600 | #57534d | 1.2 |
| neutral-600 | #525252 | 1.7 |
| zinc-600 | #52525c | 2.9 |
Code snippets
<div class="bg-taupe-600 text-white">...</div>
<p class="text-taupe-600 border-taupe-600">...</p>.element {
color: var(--color-taupe-600);
background-color: oklch(43.8% 0.017 39.3);
border-color: #5b4f4b;
outline-color: rgb(91 79 75);
}import SwiftUI
extension Color {
static let taupe600 = Color(red: 0.357, green: 0.310, blue: 0.294)
}import androidx.compose.ui.graphics.Color
val Taupe600 = Color(0xFF5B4F4B)import 'package:flutter/material.dart';
const taupe600 = Color(0xFF5B4F4B);<!-- res/values/colors.xml -->
<color name="taupe_600">#5B4F4B</color>Frequently asked questions
- What is the hex code for Tailwind taupe-600?
- In Tailwind CSS v4, taupe-600 is oklch(43.8% 0.017 39.3), which converts to #5B4F4B (rgb(91, 79, 75)) in sRGB.
- Is taupe-600 available in Tailwind v3?
- No. The taupe scale was added in Tailwind CSS v4.2. In v3 you can recreate it in tailwind.config.js under theme.extend.colors with the hex #5B4F4B.
- How do I use taupe-600 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-taupe-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on taupe-600?
- White text on taupe-600 has a contrast ratio of 7.88:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 2.66:1 and fails AA even for large text. In APCA terms that is Lc −92.1 for white and Lc 16.6 for black.
- Which CSS named color is closest to taupe-600?
- The closest is darkslategray (#2F4F4F) at ΔE OK 6.4, followed by dimgray and saddlebrown.
Last reviewed by Arielton Oberek.