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
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
1.04:1
On Black
20.25:1
Tailwind Usage — All Utilities
Background
bg-amber-50Text
text-amber-50Border
border-amber-50Ring
ring-amber-50Outline
outline-amber-50Fill
fill-amber-50Stroke
stroke-amber-50From (gradient)
from-amber-50Via (gradient)
via-amber-50To (gradient)
to-amber-50Placeholder
placeholder-amber-50Caret
caret-amber-50Accent
accent-amber-50Decoration
decoration-amber-50Shadow Color
shadow-amber-50Tailwind 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
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #FFFBEB
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Amber 50
Nearest Tailwind equivalent — #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.