Skip to content

Tailwind CSS v4 default palette

Tailwind taupe-500: #7C6D67

In Tailwind CSS v4, taupe-500 is defined as --color-taupe-500: oklch(54.7% 0.021 43.1), which is #7C6D67 in hex and rgb(124, 109, 103): a medium-dark, grayish brown.

taupe-500#7C6D67

In OKLCH, taupe-500 has a lightness of 54.7%, chroma 0.021 and hue 43.1°. It is the most saturated shade of the taupe scale.

The value fits inside sRGB, so the hex #7C6D67 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-500

Color codes for taupe-500
Tailwind v4 token--color-taupe-500
OKLCH (source value)oklch(54.7% 0.021 43.1)
HEX#7C6D67
RGBrgb(124, 109, 103)
HSLhsl(17, 9%, 45%)
HWBhwb(17 40% 51%)
CMYK (naive, no ICC profile)cmyk(0%, 12%, 17%, 51%)
Decimal8,154,471
Utility classesbg-taupe-500, text-taupe-500, border-taupe-500

Tailwind taupe scale

Contrast and accessibility

On taupe-500, white text has a contrast ratio of 4.95:1 and passes AA for normal text; black text reaches 4.24: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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on taupe-5004.24:1FailPassFailFail29.8
White text on taupe-5004.95:1PassPassFailPass−79.7
Taupe-500 text on white4.95:1PassPassFailPass74.3
Taupe-500 text on black4.24:1FailPassFailFail−27.4

Tints and shades

Each step mixes var(--color-taupe-500) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-taupe-500), white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #83746f
  2. 15%
    #90837e
  3. 25%
    #9d928d
  4. 35%
    #aaa09c
  5. 45%
    #b7afab
  6. 55%
    #c4bdbb
  7. 65%
    #d1ccca
  8. 75%
    #dedbd9
  9. 85%
    #ebe9e8
  10. 95%
    #f8f8f7

Shades (mixed with black)

  1. 5%
    #766862
  2. 15%
    #695d58
  3. 25%
    #5d524d
  4. 35%
    #514743
  5. 45%
    #443c39
  6. 55%
    #38312e
  7. 65%
    #2b2624
  8. 75%
    #1f1b1a
  9. 85%
    #13100f
  10. 95%
    #060505

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, taupe-500's complementary color is #64747A (close to dimgray), its analogous colors are #7C6C6D and #786F64, and its triadic partners are #66756D and #6F6F7D. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#64747a
Analogous−30°, +30°#7c6c6d#786f64
Triadic+120°, +240°#66756d#6f6f7d
Split-complementary+150°, +210°#637574#68727d

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-500 is close to neutral: its OKLCH chroma is only 0.021, so its temperature comes from context. The faint 17° 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

Nearest CSS named colors
ColorHEXΔE OK
dimgray#6969693.4
gray#8080805.7
slategray#7080906.8

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
stone-500#79716b1.1
neutral-500#7373732.3
zinc-500#71717b3.2

Code snippets

Tailwind CSS
<div class="bg-taupe-500 text-white">...</div>
<p class="text-taupe-500 border-taupe-500">...</p>
CSS
.element {
  color: var(--color-taupe-500);
  background-color: oklch(54.7% 0.021 43.1);
  border-color: #7c6d67;
  outline-color: rgb(124 109 103);
}
SwiftUI
import SwiftUI

extension Color {
  static let taupe500 = Color(red: 0.486, green: 0.427, blue: 0.404)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Taupe500 = Color(0xFF7C6D67)
Flutter
import 'package:flutter/material.dart';

const taupe500 = Color(0xFF7C6D67);
Android XML
<!-- res/values/colors.xml -->
<color name="taupe_500">#7C6D67</color>

Frequently asked questions

What is the hex code for Tailwind taupe-500?
In Tailwind CSS v4, taupe-500 is oklch(54.7% 0.021 43.1), which converts to #7C6D67 (rgb(124, 109, 103)) in sRGB.
Is taupe-500 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 #7C6D67.
How do I use taupe-500 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-taupe-500). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on taupe-500?
White text on taupe-500 has a contrast ratio of 4.95:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 4.24:1 and passes AA only for large text (24 px, or 18.66 px bold, and up). In APCA terms that is Lc −79.7 for white and Lc 29.8 for black.
Which CSS named color is closest to taupe-500?
The closest is dimgray (#696969) at ΔE OK 3.4, followed by gray and slategray.

Last reviewed by Arielton Oberek.