Color Values
- HEX
- #A8A29E
- RGB
- rgb(168, 162, 158)
- HSL
- hsl(24, 5%, 64%)
- OKLCH
- oklch(0.716 0.009 56)
- CMYK
- cmyk(0%, 4%, 6%, 34%)
- CSS Variable
- var(--color-stone-400)
- Tailwind Class
- bg-stone-400
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
2.52:1
On Black
8.33:1
Tailwind Usage — All Utilities
Background
bg-stone-400Text
text-stone-400Border
border-stone-400Ring
ring-stone-400Outline
outline-stone-400Fill
fill-stone-400Stroke
stroke-stone-400From (gradient)
from-stone-400Via (gradient)
via-stone-400To (gradient)
to-stone-400Placeholder
placeholder-stone-400Caret
caret-stone-400Accent
accent-stone-400Decoration
decoration-stone-400Shadow Color
shadow-stone-400Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'stone-400': '#a8a29e',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #A8A29E;
/* RGB */
background-color: rgb(168, 162, 158);
/* HSL */
background-color: hsl(24, 5%, 64%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.716 0.009 56);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-stone-400);
/* Gradient example */
background: linear-gradient(135deg, #fafaf9 0%, #78716c 100%);OKLCH — Modern Color Space
Lightness (L)
0.716
72% perceived brightness
Chroma (C)
0.009
Color intensity / saturation
Hue (H)
56°
Angle on perceptual hue wheel
oklch(0.716 0.009 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
Mid-tone accent
Shade 400 of the Stone palette
Recommended Uses
- ✓Icon fills on white
- ✓Secondary buttons (large text)
- ✓Chart & data visualization bars
- ✓Decorative UI elements
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #A8A29E
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Stone 400
Nearest Tailwind equivalent — #A8A29E
Frequently Asked Questions
- What is the hex code for Tailwind Stone 400?
- Tailwind Stone 400 has the hex code #A8A29E. Its RGB value is rgb(168, 162, 158) and its HSL value is hsl(24, 5%, 64%).
- What Tailwind utility classes use Stone 400?
- Use bg-stone-400 for backgrounds, text-stone-400 for text color, border-stone-400 for borders, and ring-stone-400 for focus rings. In Tailwind v4 the CSS variable var(--color-stone-400) is available natively.
- Is Tailwind Stone 400 WCAG accessible?
- Tailwind Stone 400 achieves a 2.52:1 contrast ratio on white (Fail) and 8.33:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Stone 400?
- Tailwind Stone 400 in OKLCH is oklch(0.716 0.009 56) — lightness 0.716, chroma 0.009, hue 56°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Stone 400 used for?
- At shade 400, Tailwind Stone 400 is best described as "Mid-tone accent". Recommended uses: Icon fills on white, Secondary buttons (large text), Chart & data visualization bars.