Skip to main content

bg-neutral-600

Tailwind Neutral 600

#525252·Neutral family·Shade 600

Color Values

HEX
#525252
RGB
rgb(82, 82, 82)
HSL
hsl(0, 0%, 32%)
OKLCH
oklch(0.439 0.000 0)
CMYK
cmyk(0%, 0%, 0%, 68%)
CSS Variable
var(--color-neutral-600)
Tailwind Class
bg-neutral-600

Accessibility Score

60/100

Good

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

On White

7.81:1

AAA

On Black

2.69:1

Fail
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-neutral-600

Text

text-neutral-600

Border

border-neutral-600

Ring

ring-neutral-600

Outline

outline-neutral-600

Fill

fill-neutral-600

Stroke

stroke-neutral-600

From (gradient)

from-neutral-600

Via (gradient)

via-neutral-600

To (gradient)

to-neutral-600

Placeholder

placeholder-neutral-600

Caret

caret-neutral-600

Accent

accent-neutral-600

Decoration

decoration-neutral-600

Shadow Color

shadow-neutral-600

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'neutral-600': '#525252', }, }, }, };

CSS Equivalent

/* Hex */
background-color: #525252;

/* RGB */
background-color: rgb(82, 82, 82);

/* HSL */
background-color: hsl(0, 0%, 32%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.439 0.000 0);

/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-neutral-600);

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

OKLCH — Modern Color Space

Lightness (L)

0.439

44% perceived brightness

Chroma (C)

0.000

Color intensity / saturation

Hue (H)

Angle on perceptual hue wheel

oklch(0.439 0.000 0)

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

Accessible primary action

Shade 600 of the Neutral palette

Recommended Uses

  • Primary buttons on white (passes AA)
  • Active state fills
  • Bold text links
  • Form borders on focus
  • Strong icon fills

Avoid

Text on dark backgrounds — may fall below required contrast.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #525252

Frequently Asked Questions

What is the hex code for Tailwind Neutral 600?
Tailwind Neutral 600 has the hex code #525252. Its RGB value is rgb(82, 82, 82) and its HSL value is hsl(0, 0%, 32%).
What Tailwind utility classes use Neutral 600?
Use bg-neutral-600 for backgrounds, text-neutral-600 for text color, border-neutral-600 for borders, and ring-neutral-600 for focus rings. In Tailwind v4 the CSS variable var(--color-neutral-600) is available natively.
Is Tailwind Neutral 600 WCAG accessible?
Tailwind Neutral 600 achieves a 7.81:1 contrast ratio on white (AAA) and 2.69:1 on black (Fail). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Neutral 600?
Tailwind Neutral 600 in OKLCH is oklch(0.439 0.000 0) — lightness 0.439, chroma 0.000, hue 0°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Neutral 600 used for?
At shade 600, Tailwind Neutral 600 is best described as "Accessible primary action". Recommended uses: Primary buttons on white (passes AA), Active state fills, Bold text links.