Tailwind CSS v4 default palette
Tailwind stone-800: #292524
In Tailwind CSS v4, stone-800 is defined as --color-stone-800: oklch(26.8% 0.007 34.298), which is #292524 in hex and rgb(41, 37, 36): a very dark gray with a faint brown tint. In Tailwind v3, stone-800 was #292524.
In OKLCH, stone-800 has a lightness of 26.8%, chroma 0.007 and hue 34.3°.
The value fits inside sRGB, so the hex #292524 represents it without loss on any screen.
In v3, stone-800 was #292524. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
Tailwind stone is a warm gray with a slight brown-yellow tint, suited to editorial and earthy designs.
Color codes for stone-800
| Tailwind v4 token | --color-stone-800 |
|---|---|
| OKLCH (source value) | oklch(26.8% 0.007 34.298) |
| HEX | #292524 |
| RGB | rgb(41, 37, 36) |
| HSL | hsl(12, 6%, 15%) |
| HWB | hwb(12 14% 84%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 10%, 12%, 84%) |
| Decimal | 2,696,484 |
| Tailwind v3 hex | #292524 |
| Utility classes | bg-stone-800, text-stone-800, border-stone-800 |
Tailwind stone scale
Contrast and accessibility
On stone-800, white text has a contrast ratio of 15.16:1 and passes AAA at any text size; black text reaches 1.38: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 stone-800 | 1.38:1 | Fail | Fail | Fail | Fail | 0.0 |
| White text on stone-800 | 15.16:1 | Pass | Pass | Pass | Pass | −104.8 |
| Stone-800 text on white | 15.16:1 | Pass | Pass | Pass | Pass | 102.1 |
| Stone-800 text on black | 1.38:1 | Fail | Fail | Fail | Fail | 0.0 |
Tints and shades
Each step mixes var(--color-stone-800) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-stone-800), white 25%) in CSS.
Tints (mixed with white)
- 5%
#34302f - 15%
#494645 - 25%
#5f5c5b - 35%
#747171 - 45%
#898787 - 55%
#9f9d9c - 65%
#b4b3b2 - 75%
#cac9c8 - 85%
#dfdede - 95%
#f4f4f4
Shades (mixed with black)
- 5%
#272322 - 15%
#231f1f - 25%
#1f1c1b - 35%
#1b1817 - 45%
#171414 - 55%
#121110 - 65%
#0e0d0d - 75%
#0a0909 - 85%
#060605 - 95%
#020202
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, stone-800's complementary color is #222728 (close to darkslategray), its analogous colors are #292525 and #282522, and its triadic partners are #232724 and #252629. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #222728 |
| Analogous | −30°, +30° | #292525#282522 |
| Triadic | +120°, +240° | #232724#252629 |
| Split-complementary | +150°, +210° | #222726#232629 |
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 stone-800 is close to neutral: its OKLCH chroma is only 0.007, so its temperature comes from context. The faint 12° 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 | 14.2 |
| midnightblue | #191970 | 14.9 |
| maroon | #800000 | 18.3 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| taupe-800 | #2b2422 | 0.4 |
| neutral-800 | #262626 | 0.7 |
| zinc-800 | #27272a | 1.2 |
Code snippets
<div class="bg-stone-800 text-white">...</div>
<p class="text-stone-800 border-stone-800">...</p>.element {
color: var(--color-stone-800);
background-color: oklch(26.8% 0.007 34.298);
border-color: #292524;
outline-color: rgb(41 37 36);
}import SwiftUI
extension Color {
static let stone800 = Color(red: 0.161, green: 0.145, blue: 0.141)
}import androidx.compose.ui.graphics.Color
val Stone800 = Color(0xFF292524)import 'package:flutter/material.dart';
const stone800 = Color(0xFF292524);<!-- res/values/colors.xml -->
<color name="stone_800">#292524</color>Frequently asked questions
- What is the hex code for Tailwind stone-800?
- In Tailwind CSS v4, stone-800 is oklch(26.8% 0.007 34.298), which converts to #292524 (rgb(41, 37, 36)) in sRGB. In Tailwind v3 the same name was #292524.
- What is the difference between stone-800 in Tailwind v3 and v4?
- v3 used the hex #292524; v4 redefined the palette in OKLCH as oklch(26.8% 0.007 34.298). In v3, stone-800 was #292524. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
- How do I use stone-800 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-stone-800). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on stone-800?
- White text on stone-800 has a contrast ratio of 15.16:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 1.38:1 and fails AA even for large text. In APCA terms that is Lc −104.8 for white and Lc 0.0 for black.
- Which CSS named color is closest to stone-800?
- The closest is darkslategray (#2F4F4F) at ΔE OK 14.2, followed by midnightblue and maroon.
Last reviewed by Arielton Oberek.