Skip to main content

bg-yellow-700

Tailwind Yellow 700

#A16207·Yellow family·Shade 700

Color Values

HEX
#A16207
RGB
rgb(161, 98, 7)
HSL
hsl(35, 92%, 33%)
OKLCH
oklch(0.554 0.121 66)
CMYK
cmyk(0%, 39%, 96%, 37%)
CSS Variable
var(--color-yellow-700)
Tailwind Class
bg-yellow-700

Accessibility Score

60/100

Good

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

On White

4.92:1

AA

On Black

4.27:1

AA Large
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-yellow-700

Text

text-yellow-700

Border

border-yellow-700

Ring

ring-yellow-700

Outline

outline-yellow-700

Fill

fill-yellow-700

Stroke

stroke-yellow-700

From (gradient)

from-yellow-700

Via (gradient)

via-yellow-700

To (gradient)

to-yellow-700

Placeholder

placeholder-yellow-700

Caret

caret-yellow-700

Accent

accent-yellow-700

Decoration

decoration-yellow-700

Shadow Color

shadow-yellow-700

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

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

/* RGB */
background-color: rgb(161, 98, 7);

/* HSL */
background-color: hsl(35, 92%, 33%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.554 0.121 66);

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

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

OKLCH — Modern Color Space

Lightness (L)

0.554

55% perceived brightness

Chroma (C)

0.121

Color intensity / saturation

Hue (H)

66°

Angle on perceptual hue wheel

oklch(0.554 0.121 66)

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

Dark accent & pressed state

Shade 700 of the Yellow palette

Recommended Uses

  • Pressed/active button states
  • Text links on white
  • Dark-mode primary buttons
  • Table headers
  • Strong UI accents

Avoid

Text on black — contrast is too low for dark mode text.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #A16207

Frequently Asked Questions

What is the hex code for Tailwind Yellow 700?
Tailwind Yellow 700 has the hex code #A16207. Its RGB value is rgb(161, 98, 7) and its HSL value is hsl(35, 92%, 33%).
What Tailwind utility classes use Yellow 700?
Use bg-yellow-700 for backgrounds, text-yellow-700 for text color, border-yellow-700 for borders, and ring-yellow-700 for focus rings. In Tailwind v4 the CSS variable var(--color-yellow-700) is available natively.
Is Tailwind Yellow 700 WCAG accessible?
Tailwind Yellow 700 achieves a 4.92:1 contrast ratio on white (AA) and 4.27:1 on black (AA Large). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Yellow 700?
Tailwind Yellow 700 in OKLCH is oklch(0.554 0.121 66) — lightness 0.554, chroma 0.121, hue 66°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Yellow 700 used for?
At shade 700, Tailwind Yellow 700 is best described as "Dark accent & pressed state". Recommended uses: Pressed/active button states, Text links on white, Dark-mode primary buttons.