Skip to main content

bg-amber-900

Tailwind Amber 900

#78350F·Amber family·Shade 900

Color Values

HEX
#78350F
RGB
rgb(120, 53, 15)
HSL
hsl(22, 78%, 26%)
OKLCH
oklch(0.414 0.105 46)
CMYK
cmyk(0%, 56%, 88%, 53%)
CSS Variable
var(--color-amber-900)
Tailwind Class
bg-amber-900

Accessibility Score

60/100

Good

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

On White

9.07:1

AAA

On Black

2.31:1

Fail
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-amber-900

Text

text-amber-900

Border

border-amber-900

Ring

ring-amber-900

Outline

outline-amber-900

Fill

fill-amber-900

Stroke

stroke-amber-900

From (gradient)

from-amber-900

Via (gradient)

via-amber-900

To (gradient)

to-amber-900

Placeholder

placeholder-amber-900

Caret

caret-amber-900

Accent

accent-amber-900

Decoration

decoration-amber-900

Shadow Color

shadow-amber-900

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'amber-900': '#78350f', }, }, }, };

CSS Equivalent

/* Hex */
background-color: #78350F;

/* RGB */
background-color: rgb(120, 53, 15);

/* HSL */
background-color: hsl(22, 78%, 26%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.414 0.105 46);

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

/* Gradient example */
background: linear-gradient(135deg, #fffbeb 0%, #451a03 100%);

OKLCH — Modern Color Space

Lightness (L)

0.414

41% perceived brightness

Chroma (C)

0.105

Color intensity / saturation

Hue (H)

46°

Angle on perceptual hue wheel

oklch(0.414 0.105 46)

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 Amber 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 — #78350F

Frequently Asked Questions

What is the hex code for Tailwind Amber 900?
Tailwind Amber 900 has the hex code #78350F. Its RGB value is rgb(120, 53, 15) and its HSL value is hsl(22, 78%, 26%).
What Tailwind utility classes use Amber 900?
Use bg-amber-900 for backgrounds, text-amber-900 for text color, border-amber-900 for borders, and ring-amber-900 for focus rings. In Tailwind v4 the CSS variable var(--color-amber-900) is available natively.
Is Tailwind Amber 900 WCAG accessible?
Tailwind Amber 900 achieves a 9.07:1 contrast ratio on white (AAA) and 2.31:1 on black (Fail). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Amber 900?
Tailwind Amber 900 in OKLCH is oklch(0.414 0.105 46) — lightness 0.414, chroma 0.105, hue 46°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Amber 900 used for?
At shade 900, Tailwind Amber 900 is best described as "Strong dark tone". Recommended uses: Body text on white, Dark panel backgrounds, Near-dark UI elements.