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