Tailwind CSS v4 default palette
Tailwind stone-950: #0C0A09
In Tailwind CSS v4, stone-950 is defined as --color-stone-950: oklch(14.7% 0.004 49.25), which is #0C0A09 in hex and rgb(12, 10, 9): a near-black with a faint brown tint. In Tailwind v3, stone-950 was #0C0A09.
In OKLCH, stone-950 has a lightness of 14.7%, chroma 0.004 and hue 49.3°.
The value fits inside sRGB, so the hex #0C0A09 represents it without loss on any screen.
In v3, stone-950 was #0C0A09. The v4 value is ΔE OK 0.0 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-950
| Tailwind v4 token | --color-stone-950 |
|---|---|
| OKLCH (source value) | oklch(14.7% 0.004 49.25) |
| HEX | #0C0A09 |
| RGB | rgb(12, 10, 9) |
| HSL | hsl(20, 14%, 4%) |
| HWB | hwb(20 4% 95%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 17%, 25%, 95%) |
| Decimal | 789,001 |
| Tailwind v3 hex | #0C0A09 |
| Utility classes | bg-stone-950, text-stone-950, border-stone-950 |
Tailwind stone scale
Contrast and accessibility
On stone-950, white text has a contrast ratio of 19.75:1 and passes AAA at any text size; black text reaches 1.06: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-950 | 1.06:1 | Fail | Fail | Fail | Fail | 0.0 |
| White text on stone-950 | 19.75:1 | Pass | Pass | Pass | Pass | −107.7 |
| Stone-950 text on white | 19.75:1 | Pass | Pass | Pass | Pass | 105.8 |
| Stone-950 text on black | 1.06:1 | Fail | Fail | Fail | Fail | 0.0 |
Tints and shades
Each step mixes var(--color-stone-950) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-stone-950), white 25%) in CSS.
Tints (mixed with white)
- 5%
#181615 - 15%
#302f2e - 25%
#494747 - 35%
#61605f - 45%
#797878 - 55%
#929190 - 65%
#aaa9a9 - 75%
#c2c2c2 - 85%
#dbdada - 95%
#f3f3f3
Shades (mixed with black)
- 5%
#0b0a09 - 15%
#0a0908 - 25%
#090807 - 35%
#080706 - 45%
#070605 - 55%
#050504 - 65%
#040403 - 75%
#030302 - 85%
#020201 - 95%
#010100
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, stone-950's complementary color is #090B0C (close to black), its analogous colors are #0C0A0A and #0B0A09, and its triadic partners are #090B0A and #0A0A0C. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #090b0c |
| Analogous | −30°, +30° | #0c0a0a#0b0a09 |
| Triadic | +120°, +240° | #090b0a#0a0a0c |
| Split-complementary | +150°, +210° | #090b0b#0a0b0c |
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-950 is close to neutral: its OKLCH chroma is only 0.004, so its temperature comes from context. It has no perceptible hue.
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 |
|---|---|---|
| black | #000000 | 14.7 |
| midnightblue | #191970 | 20.3 |
| navy | #000080 | 22.8 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| taupe-950 | #0c0a09 | 0.0 |
| neutral-950 | #0a0a0a | 0.4 |
| olive-950 | #0c0c09 | 0.8 |
Code snippets
<div class="bg-stone-950 text-white">...</div>
<p class="text-stone-950 border-stone-950">...</p>.element {
color: var(--color-stone-950);
background-color: oklch(14.7% 0.004 49.25);
border-color: #0c0a09;
outline-color: rgb(12 10 9);
}import SwiftUI
extension Color {
static let stone950 = Color(red: 0.047, green: 0.039, blue: 0.035)
}import androidx.compose.ui.graphics.Color
val Stone950 = Color(0xFF0C0A09)import 'package:flutter/material.dart';
const stone950 = Color(0xFF0C0A09);<!-- res/values/colors.xml -->
<color name="stone_950">#0C0A09</color>Frequently asked questions
- What is the hex code for Tailwind stone-950?
- In Tailwind CSS v4, stone-950 is oklch(14.7% 0.004 49.25), which converts to #0C0A09 (rgb(12, 10, 9)) in sRGB. In Tailwind v3 the same name was #0C0A09.
- What is the difference between stone-950 in Tailwind v3 and v4?
- v3 used the hex #0C0A09; v4 redefined the palette in OKLCH as oklch(14.7% 0.004 49.25). In v3, stone-950 was #0C0A09. The v4 value is ΔE OK 0.0 away, below the point where most people can tell them apart.
- How do I use stone-950 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-stone-950). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on stone-950?
- White text on stone-950 has a contrast ratio of 19.75:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 1.06:1 and fails AA even for large text. In APCA terms that is Lc −107.7 for white and Lc 0.0 for black.
- Which CSS named color is closest to stone-950?
- The closest is black (#000000) at ΔE OK 14.7, followed by midnightblue and navy.
Last reviewed by Arielton Oberek.