Tailwind CSS v4 default palette
Tailwind stone-500: #79716B
In Tailwind CSS v4, stone-500 is defined as --color-stone-500: oklch(55.3% 0.013 58.071), which is #79716B in hex and rgb(121, 113, 107): a medium-dark, grayish brown. In Tailwind v3, stone-500 was #78716C.
In OKLCH, stone-500 has a lightness of 55.3%, chroma 0.013 and hue 58.1°. It is the most saturated shade of the stone scale.
The value fits inside sRGB, so the hex #79716B represents it without loss on any screen.
In v3, stone-500 was #78716C. 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-500
| Tailwind v4 token | --color-stone-500 |
|---|---|
| OKLCH (source value) | oklch(55.3% 0.013 58.071) |
| HEX | #79716B |
| RGB | rgb(121, 113, 107) |
| HSL | hsl(26, 6%, 45%) |
| HWB | hwb(26 42% 53%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 7%, 12%, 53%) |
| Decimal | 7,958,891 |
| Tailwind v3 hex | #78716C |
| Utility classes | bg-stone-500, text-stone-500, border-stone-500 |
Tailwind stone scale
Contrast and accessibility
On stone-500, white text has a contrast ratio of 4.78:1 and passes AA for normal text; black text reaches 4.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-500 | 4.38:1 | Fail | Pass | Fail | Fail | 30.8 |
| White text on stone-500 | 4.78:1 | Pass | Pass | Fail | Pass | −78.7 |
| Stone-500 text on white | 4.78:1 | Pass | Pass | Fail | Pass | 73.2 |
| Stone-500 text on black | 4.38:1 | Fail | Pass | Fail | Fail | −28.5 |
Tints and shades
Each step mixes var(--color-stone-500) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-stone-500), white 25%) in CSS.
Tints (mixed with white)
- 5%
#807872 - 15%
#8d8681 - 25%
#9b9590 - 35%
#a8a39f - 45%
#b5b1ae - 55%
#c3bfbc - 65%
#d0cdcb - 75%
#dedcda - 85%
#ebeae9 - 95%
#f8f8f8
Shades (mixed with black)
- 5%
#736b66 - 15%
#67605b - 25%
#5b5550 - 35%
#4f4946 - 45%
#433e3b - 55%
#363330 - 65%
#2a2825 - 75%
#1e1c1b - 85%
#121110 - 95%
#060605
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, stone-500's complementary color is #6C7479 (close to dimgray), its analogous colors are #7A706E and #75726A, and its triadic partners are #6B7572 and #737179. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #6c7479 |
| Analogous | −30°, +30° | #7a706e#75726a |
| Triadic | +120°, +240° | #6b7572#737179 |
| Split-complementary | +150°, +210° | #6a7576#6f727a |
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-500 is close to neutral: its OKLCH chroma is only 0.013, so its temperature comes from context. The faint 26° 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.
Code snippets
<div class="bg-stone-500 text-white">...</div>
<p class="text-stone-500 border-stone-500">...</p>.element {
color: var(--color-stone-500);
background-color: oklch(55.3% 0.013 58.071);
border-color: #79716b;
outline-color: rgb(121 113 107);
}import SwiftUI
extension Color {
static let stone500 = Color(red: 0.475, green: 0.443, blue: 0.420)
}import androidx.compose.ui.graphics.Color
val Stone500 = Color(0xFF79716B)import 'package:flutter/material.dart';
const stone500 = Color(0xFF79716B);<!-- res/values/colors.xml -->
<color name="stone_500">#79716B</color>Frequently asked questions
- What is the hex code for Tailwind stone-500?
- In Tailwind CSS v4, stone-500 is oklch(55.3% 0.013 58.071), which converts to #79716B (rgb(121, 113, 107)) in sRGB. In Tailwind v3 the same name was #78716C.
- What is the difference between stone-500 in Tailwind v3 and v4?
- v3 used the hex #78716C; v4 redefined the palette in OKLCH as oklch(55.3% 0.013 58.071). In v3, stone-500 was #78716C. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
- How do I use stone-500 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-stone-500). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on stone-500?
- White text on stone-500 has a contrast ratio of 4.78:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 4.38:1 and passes AA only for large text (24 px, or 18.66 px bold, and up). In APCA terms that is Lc −78.7 for white and Lc 30.8 for black.
- Which CSS named color is closest to stone-500?
- The closest is dimgray (#696969) at ΔE OK 3.5, followed by gray and slategray.
Last reviewed by Arielton Oberek.