Skip to main content

bg-yellow-800

Tailwind Yellow 800

#854D0E·Yellow family·Shade 800

Color Values

HEX
#854D0E
RGB
rgb(133, 77, 14)
HSL
hsl(32, 81%, 29%)
OKLCH
oklch(0.476 0.103 62)
CMYK
cmyk(0%, 42%, 89%, 48%)
CSS Variable
var(--color-yellow-800)
Tailwind Class
bg-yellow-800

Accessibility Score

60/100

Good

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

On White

6.85:1

AA

On Black

3.07:1

AA Large
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-yellow-800

Text

text-yellow-800

Border

border-yellow-800

Ring

ring-yellow-800

Outline

outline-yellow-800

Fill

fill-yellow-800

Stroke

stroke-yellow-800

From (gradient)

from-yellow-800

Via (gradient)

via-yellow-800

To (gradient)

to-yellow-800

Placeholder

placeholder-yellow-800

Caret

caret-yellow-800

Accent

accent-yellow-800

Decoration

decoration-yellow-800

Shadow Color

shadow-yellow-800

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

/* Hex */
background-color: #854D0E;

/* RGB */
background-color: rgb(133, 77, 14);

/* HSL */
background-color: hsl(32, 81%, 29%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.476 0.103 62);

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

/* Gradient example */
background: linear-gradient(135deg, #fefce8 0%, #713f12 100%);

OKLCH — Modern Color Space

Lightness (L)

0.476

48% perceived brightness

Chroma (C)

0.103

Color intensity / saturation

Hue (H)

62°

Angle on perceptual hue wheel

oklch(0.476 0.103 62)

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

Deep tone for text & UI

Shade 800 of the Yellow palette

Recommended Uses

  • Heading text on white
  • Icon fills on light backgrounds
  • Dark sidebar fills
  • Strong badge colors
  • Section dividers

Avoid

On colored or dark backgrounds — check contrast ratio first.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #854D0E

Frequently Asked Questions

What is the hex code for Tailwind Yellow 800?
Tailwind Yellow 800 has the hex code #854D0E. Its RGB value is rgb(133, 77, 14) and its HSL value is hsl(32, 81%, 29%).
What Tailwind utility classes use Yellow 800?
Use bg-yellow-800 for backgrounds, text-yellow-800 for text color, border-yellow-800 for borders, and ring-yellow-800 for focus rings. In Tailwind v4 the CSS variable var(--color-yellow-800) is available natively.
Is Tailwind Yellow 800 WCAG accessible?
Tailwind Yellow 800 achieves a 6.85:1 contrast ratio on white (AA) and 3.07:1 on black (AA Large). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Yellow 800?
Tailwind Yellow 800 in OKLCH is oklch(0.476 0.103 62) — lightness 0.476, chroma 0.103, hue 62°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Yellow 800 used for?
At shade 800, Tailwind Yellow 800 is best described as "Deep tone for text & UI". Recommended uses: Heading text on white, Icon fills on light backgrounds, Dark sidebar fills.