Skip to content

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.

stone-800#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

Color codes for stone-800
Tailwind v4 token--color-stone-800
OKLCH (source value)oklch(26.8% 0.007 34.298)
HEX#292524
RGBrgb(41, 37, 36)
HSLhsl(12, 6%, 15%)
HWBhwb(12 14% 84%)
CMYK (naive, no ICC profile)cmyk(0%, 10%, 12%, 84%)
Decimal2,696,484
Tailwind v3 hex#292524
Utility classesbg-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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on stone-8001.38:1FailFailFailFail0.0
White text on stone-80015.16:1PassPassPassPass−104.8
Stone-800 text on white15.16:1PassPassPassPass102.1
Stone-800 text on black1.38:1FailFailFailFail0.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)

  1. 5%
    #34302f
  2. 15%
    #494645
  3. 25%
    #5f5c5b
  4. 35%
    #747171
  5. 45%
    #898787
  6. 55%
    #9f9d9c
  7. 65%
    #b4b3b2
  8. 75%
    #cac9c8
  9. 85%
    #dfdede
  10. 95%
    #f4f4f4

Shades (mixed with black)

  1. 5%
    #272322
  2. 15%
    #231f1f
  3. 25%
    #1f1c1b
  4. 35%
    #1b1817
  5. 45%
    #171414
  6. 55%
    #121110
  7. 65%
    #0e0d0d
  8. 75%
    #0a0909
  9. 85%
    #060605
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
darkslategray#2f4f4f14.2
midnightblue#19197014.9
maroon#80000018.3

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
taupe-800#2b24220.4
neutral-800#2626260.7
zinc-800#27272a1.2

Code snippets

Tailwind CSS
<div class="bg-stone-800 text-white">...</div>
<p class="text-stone-800 border-stone-800">...</p>
CSS
.element {
  color: var(--color-stone-800);
  background-color: oklch(26.8% 0.007 34.298);
  border-color: #292524;
  outline-color: rgb(41 37 36);
}
SwiftUI
import SwiftUI

extension Color {
  static let stone800 = Color(red: 0.161, green: 0.145, blue: 0.141)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const stone800 = Color(0xFF292524);
Android XML
<!-- 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.