Skip to main content

bg-yellow-100

Tailwind Yellow 100

#FEF9C3·Yellow family·Shade 100

Color Values

HEX
#FEF9C3
RGB
rgb(254, 249, 195)
HSL
hsl(55, 97%, 88%)
OKLCH
oklch(0.973 0.069 103)
CMYK
cmyk(0%, 2%, 23%, 0%)
CSS Variable
var(--color-yellow-100)
Tailwind Class
bg-yellow-100

Accessibility Score

60/100

Good

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

On White

1.07:1

Fail

On Black

19.55:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-yellow-100

Text

text-yellow-100

Border

border-yellow-100

Ring

ring-yellow-100

Outline

outline-yellow-100

Fill

fill-yellow-100

Stroke

stroke-yellow-100

From (gradient)

from-yellow-100

Via (gradient)

via-yellow-100

To (gradient)

to-yellow-100

Placeholder

placeholder-yellow-100

Caret

caret-yellow-100

Accent

accent-yellow-100

Decoration

decoration-yellow-100

Shadow Color

shadow-yellow-100

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'yellow-100': '#fef9c3', }, }, }, };

CSS Equivalent

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

/* RGB */
background-color: rgb(254, 249, 195);

/* HSL */
background-color: hsl(55, 97%, 88%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.973 0.069 103);

/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-yellow-100);

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

OKLCH — Modern Color Space

Lightness (L)

0.973

97% perceived brightness

Chroma (C)

0.069

Color intensity / saturation

Hue (H)

103°

Angle on perceptual hue wheel

oklch(0.973 0.069 103)

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

Light surface & background

Shade 100 of the Yellow palette

Recommended Uses

  • Card backgrounds
  • Sidebar fills
  • Input field backgrounds
  • Chip & badge backgrounds
  • Skeleton loaders

Avoid

Body text on white — insufficient contrast for normal-size text.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #FEF9C3

Frequently Asked Questions

What is the hex code for Tailwind Yellow 100?
Tailwind Yellow 100 has the hex code #FEF9C3. Its RGB value is rgb(254, 249, 195) and its HSL value is hsl(55, 97%, 88%).
What Tailwind utility classes use Yellow 100?
Use bg-yellow-100 for backgrounds, text-yellow-100 for text color, border-yellow-100 for borders, and ring-yellow-100 for focus rings. In Tailwind v4 the CSS variable var(--color-yellow-100) is available natively.
Is Tailwind Yellow 100 WCAG accessible?
Tailwind Yellow 100 achieves a 1.07:1 contrast ratio on white (Fail) and 19.55:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Yellow 100?
Tailwind Yellow 100 in OKLCH is oklch(0.973 0.069 103) — lightness 0.973, chroma 0.069, hue 103°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Yellow 100 used for?
At shade 100, Tailwind Yellow 100 is best described as "Light surface & background". Recommended uses: Card backgrounds, Sidebar fills, Input field backgrounds.