Skip to main content

bg-stone-900

Tailwind Stone 900

#1C1917·Stone family·Shade 900

Color Values

HEX
#1C1917
RGB
rgb(28, 25, 23)
HSL
hsl(24, 10%, 10%)
OKLCH
oklch(0.216 0.006 56)
CMYK
cmyk(0%, 11%, 18%, 89%)
CSS Variable
var(--color-stone-900)
Tailwind Class
bg-stone-900

Accessibility Score

60/100

Good

Based on WCAG 2.1 contrast ratios against white and black backgrounds.

On White

17.49:1

AAA

On Black

1.2:1

Fail
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-stone-900

Text

text-stone-900

Border

border-stone-900

Ring

ring-stone-900

Outline

outline-stone-900

Fill

fill-stone-900

Stroke

stroke-stone-900

From (gradient)

from-stone-900

Via (gradient)

via-stone-900

To (gradient)

to-stone-900

Placeholder

placeholder-stone-900

Caret

caret-stone-900

Accent

accent-stone-900

Decoration

decoration-stone-900

Shadow Color

shadow-stone-900

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'stone-900': '#1c1917', }, }, }, };

CSS Equivalent

/* Hex */
background-color: #1C1917;

/* RGB */
background-color: rgb(28, 25, 23);

/* HSL */
background-color: hsl(24, 10%, 10%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.216 0.006 56);

/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-stone-900);

/* Gradient example */
background: linear-gradient(135deg, #fafaf9 0%, #0c0a09 100%);

OKLCH — Modern Color Space

Lightness (L)

0.216

22% perceived brightness

Chroma (C)

0.006

Color intensity / saturation

Hue (H)

56°

Angle on perceptual hue wheel

oklch(0.216 0.006 56)

OKLCH is a perceptually uniform color space in CSS Color Level 4. Unlike HSL, equal steps in L produce equal perceived lightness changes — making it ideal for building accessible, harmonious design system scales.

Design Recommendations

Strong dark tone

Shade 900 of the Stone palette

Recommended Uses

  • Body text on white
  • Dark panel backgrounds
  • Near-dark UI elements
  • Footer backgrounds
  • High-contrast headings

Avoid

On dark backgrounds — contrast will be insufficient.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #1C1917

Frequently Asked Questions

What is the hex code for Tailwind Stone 900?
Tailwind Stone 900 has the hex code #1C1917. Its RGB value is rgb(28, 25, 23) and its HSL value is hsl(24, 10%, 10%).
What Tailwind utility classes use Stone 900?
Use bg-stone-900 for backgrounds, text-stone-900 for text color, border-stone-900 for borders, and ring-stone-900 for focus rings. In Tailwind v4 the CSS variable var(--color-stone-900) is available natively.
Is Tailwind Stone 900 WCAG accessible?
Tailwind Stone 900 achieves a 17.49:1 contrast ratio on white (AAA) and 1.2:1 on black (Fail). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Stone 900?
Tailwind Stone 900 in OKLCH is oklch(0.216 0.006 56) — lightness 0.216, chroma 0.006, hue 56°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Stone 900 used for?
At shade 900, Tailwind Stone 900 is best described as "Strong dark tone". Recommended uses: Body text on white, Dark panel backgrounds, Near-dark UI elements.