Skip to content

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.

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

Color codes for stone-300
Tailwind v4 token--color-stone-300
OKLCH (source value)oklch(86.9% 0.005 56.366)
HEX#D6D3D1
RGBrgb(214, 211, 209)
HSLhsl(24, 6%, 83%)
HWBhwb(24 82% 16%)
CMYK (naive, no ICC profile)cmyk(0%, 1%, 2%, 16%)
Decimal14,078,929
Tailwind v3 hex#D6D3D1
Utility classesbg-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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on stone-30014.09:1PassPassPassPass80.7
White text on stone-3001.48:1FailFailFailFail−26.1
Stone-300 text on white1.48:1FailFailFailFail23.0
Stone-300 text on black14.09:1PassPassPassPass−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)

  1. 5%
    #d8d5d3
  2. 15%
    #dcdad8
  3. 25%
    #e0dedd
  4. 35%
    #e4e2e1
  5. 45%
    #e8e7e6
  6. 55%
    #edebea
  7. 65%
    #f1f0ef
  8. 75%
    #f5f4f4
  9. 85%
    #f9f8f8
  10. 95%
    #fdfdfd

Shades (mixed with black)

  1. 5%
    #cbc8c7
  2. 15%
    #b6b3b2
  3. 25%
    #a19e9d
  4. 35%
    #8b8988
  5. 45%
    #767473
  6. 55%
    #605f5e
  7. 65%
    #4b4a49
  8. 75%
    #363534
  9. 85%
    #20201f
  10. 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.

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

Nearest CSS named colors
ColorHEXΔE OK
lightgray#d3d3d30.5
gainsboro#dcdcdc2.6
powderblue#b0e0e65.5

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
taupe-300#d8d2d00.3
neutral-300#d4d4d40.5
zinc-300#d4d4d81.0

Code snippets

Tailwind CSS
<div class="bg-stone-300 text-black">...</div>
<p class="text-stone-300 border-stone-300">...</p>
CSS
.element {
  color: var(--color-stone-300);
  background-color: oklch(86.9% 0.005 56.366);
  border-color: #d6d3d1;
  outline-color: rgb(214 211 209);
}
SwiftUI
import SwiftUI

extension Color {
  static let stone300 = Color(red: 0.839, green: 0.827, blue: 0.820)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

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