Tailwind CSS v4 default palette
Tailwind stone-300: #D6D3D1
In Tailwind CSS v4, stone-300 is defined as --color-stone-300: oklch(86.9% 0.005 56.366), which is #D6D3D1 in hex and rgb(214, 211, 209): a very light gray with a faint beige tint. In Tailwind v3, stone-300 was #D6D3D1.
In OKLCH, stone-300 has a lightness of 86.9%, chroma 0.005 and hue 56.4°.
The value fits inside sRGB, so the hex #D6D3D1 represents it without loss on any screen.
In v3, stone-300 was #D6D3D1. 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-300
| Tailwind v4 token | --color-stone-300 |
|---|---|
| OKLCH (source value) | oklch(86.9% 0.005 56.366) |
| HEX | #D6D3D1 |
| RGB | rgb(214, 211, 209) |
| HSL | hsl(24, 6%, 83%) |
| HWB | hwb(24 82% 16%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 1%, 2%, 16%) |
| Decimal | 14,078,929 |
| Tailwind v3 hex | #D6D3D1 |
| Utility classes | bg-stone-300, text-stone-300, border-stone-300 |
Tailwind stone scale
Contrast and accessibility
On stone-300, black text has a contrast ratio of 14.09:1 and passes AAA at any text size; white text reaches 1.48: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-300 | 14.09:1 | Pass | Pass | Pass | Pass | 80.7 |
| White text on stone-300 | 1.48:1 | Fail | Fail | Fail | Fail | −26.1 |
| Stone-300 text on white | 1.48:1 | Fail | Fail | Fail | Fail | 23.0 |
| Stone-300 text on black | 14.09:1 | Pass | Pass | Pass | Pass | −80.2 |
Tints and shades
Each step mixes var(--color-stone-300) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-stone-300), white 25%) in CSS.
Tints (mixed with white)
- 5%
#d8d5d3 - 15%
#dcdad8 - 25%
#e0dedd - 35%
#e4e2e1 - 45%
#e8e7e6 - 55%
#edebea - 65%
#f1f0ef - 75%
#f5f4f4 - 85%
#f9f8f8 - 95%
#fdfdfd
Shades (mixed with black)
- 5%
#cbc8c7 - 15%
#b6b3b2 - 25%
#a19e9d - 35%
#8b8988 - 45%
#767473 - 55%
#605f5e - 65%
#4b4a49 - 75%
#363534 - 85%
#20201f - 95%
#0b0b0a
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, stone-300's complementary color is #D1D4D7 (close to lightgray), its analogous colors are #D7D3D2 and #D5D4D0, and its triadic partners are #D1D5D4 and #D4D3D7. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #d1d4d7 |
| Analogous | −30°, +30° | #d7d3d2#d5d4d0 |
| Triadic | +120°, +240° | #d1d5d4#d4d3d7 |
| Split-complementary | +150°, +210° | #d0d5d5#d2d4d7 |
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-300 is close to neutral: its OKLCH chroma is only 0.005, so its temperature comes from context. The faint 24° 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 |
|---|---|---|
| lightgray | #d3d3d3 | 0.5 |
| gainsboro | #dcdcdc | 2.6 |
| powderblue | #b0e0e6 | 5.5 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| taupe-300 | #d8d2d0 | 0.3 |
| neutral-300 | #d4d4d4 | 0.5 |
| zinc-300 | #d4d4d8 | 1.0 |
Code snippets
<div class="bg-stone-300 text-black">...</div>
<p class="text-stone-300 border-stone-300">...</p>.element {
color: var(--color-stone-300);
background-color: oklch(86.9% 0.005 56.366);
border-color: #d6d3d1;
outline-color: rgb(214 211 209);
}import SwiftUI
extension Color {
static let stone300 = Color(red: 0.839, green: 0.827, blue: 0.820)
}import androidx.compose.ui.graphics.Color
val Stone300 = Color(0xFFD6D3D1)import 'package:flutter/material.dart';
const stone300 = Color(0xFFD6D3D1);<!-- res/values/colors.xml -->
<color name="stone_300">#D6D3D1</color>Frequently asked questions
- What is the hex code for Tailwind stone-300?
- In Tailwind CSS v4, stone-300 is oklch(86.9% 0.005 56.366), which converts to #D6D3D1 (rgb(214, 211, 209)) in sRGB. In Tailwind v3 the same name was #D6D3D1.
- What is the difference between stone-300 in Tailwind v3 and v4?
- v3 used the hex #D6D3D1; v4 redefined the palette in OKLCH as oklch(86.9% 0.005 56.366). In v3, stone-300 was #D6D3D1. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
- How do I use stone-300 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-stone-300). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on stone-300?
- White text on stone-300 has a contrast ratio of 1.48:1, which fails AA even for large text under WCAG 2.2. Black text reaches 14.09:1 and passes both AA and AAA. In APCA terms that is Lc −26.1 for white and Lc 80.7 for black.
- Which CSS named color is closest to stone-300?
- The closest is lightgray (#D3D3D3) at ΔE OK 0.5, followed by gainsboro and powderblue.
Last reviewed by Arielton Oberek.