Skip to main content

bg-amber-50

Tailwind Amber 50

#FFFBEB·Amber family·Shade 50

Color Values

HEX
#FFFBEB
RGB
rgb(255, 251, 235)
HSL
hsl(48, 100%, 96%)
OKLCH
oklch(0.987 0.021 95)
CMYK
cmyk(0%, 2%, 8%, 0%)
CSS Variable
var(--color-amber-50)
Tailwind Class
bg-amber-50

Accessibility Score

60/100

Good

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

On White

1.04:1

Fail

On Black

20.25:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-amber-50

Text

text-amber-50

Border

border-amber-50

Ring

ring-amber-50

Outline

outline-amber-50

Fill

fill-amber-50

Stroke

stroke-amber-50

From (gradient)

from-amber-50

Via (gradient)

via-amber-50

To (gradient)

to-amber-50

Placeholder

placeholder-amber-50

Caret

caret-amber-50

Accent

accent-amber-50

Decoration

decoration-amber-50

Shadow Color

shadow-amber-50

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

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

/* RGB */
background-color: rgb(255, 251, 235);

/* HSL */
background-color: hsl(48, 100%, 96%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.987 0.021 95);

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

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

OKLCH — Modern Color Space

Lightness (L)

0.987

99% perceived brightness

Chroma (C)

0.021

Color intensity / saturation

Hue (H)

95°

Angle on perceptual hue wheel

oklch(0.987 0.021 95)

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

Ultra-light background tint

Shade 50 of the Amber palette

Recommended Uses

  • Page backgrounds
  • Subtle section fills
  • Notification banners
  • Hover state backgrounds
  • Table row alternates

Avoid

Text on white — contrast is too low for readability.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #FFFBEB

Frequently Asked Questions

What is the hex code for Tailwind Amber 50?
Tailwind Amber 50 has the hex code #FFFBEB. Its RGB value is rgb(255, 251, 235) and its HSL value is hsl(48, 100%, 96%).
What Tailwind utility classes use Amber 50?
Use bg-amber-50 for backgrounds, text-amber-50 for text color, border-amber-50 for borders, and ring-amber-50 for focus rings. In Tailwind v4 the CSS variable var(--color-amber-50) is available natively.
Is Tailwind Amber 50 WCAG accessible?
Tailwind Amber 50 achieves a 1.04:1 contrast ratio on white (Fail) and 20.25:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Amber 50?
Tailwind Amber 50 in OKLCH is oklch(0.987 0.021 95) — lightness 0.987, chroma 0.021, hue 95°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Amber 50 used for?
At shade 50, Tailwind Amber 50 is best described as "Ultra-light background tint". Recommended uses: Page backgrounds, Subtle section fills, Notification banners.