Skip to main content

bg-emerald-700

Tailwind Emerald 700

#047857·Emerald family·Shade 700

Color Values

HEX
#047857
RGB
rgb(4, 120, 87)
HSL
hsl(163, 94%, 24%)
OKLCH
oklch(0.508 0.105 166)
CMYK
cmyk(97%, 0%, 27%, 53%)
CSS Variable
var(--color-emerald-700)
Tailwind Class
bg-emerald-700

Accessibility Score

60/100

Good

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

On White

5.48:1

AA

On Black

3.83:1

AA Large
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-emerald-700

Text

text-emerald-700

Border

border-emerald-700

Ring

ring-emerald-700

Outline

outline-emerald-700

Fill

fill-emerald-700

Stroke

stroke-emerald-700

From (gradient)

from-emerald-700

Via (gradient)

via-emerald-700

To (gradient)

to-emerald-700

Placeholder

placeholder-emerald-700

Caret

caret-emerald-700

Accent

accent-emerald-700

Decoration

decoration-emerald-700

Shadow Color

shadow-emerald-700

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

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

/* RGB */
background-color: rgb(4, 120, 87);

/* HSL */
background-color: hsl(163, 94%, 24%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.508 0.105 166);

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

/* Gradient example */
background: linear-gradient(135deg, #ecfdf5 0%, #065f46 100%);

OKLCH — Modern Color Space

Lightness (L)

0.508

51% perceived brightness

Chroma (C)

0.105

Color intensity / saturation

Hue (H)

166°

Angle on perceptual hue wheel

oklch(0.508 0.105 166)

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 Emerald 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 — #047857

Frequently Asked Questions

What is the hex code for Tailwind Emerald 700?
Tailwind Emerald 700 has the hex code #047857. Its RGB value is rgb(4, 120, 87) and its HSL value is hsl(163, 94%, 24%).
What Tailwind utility classes use Emerald 700?
Use bg-emerald-700 for backgrounds, text-emerald-700 for text color, border-emerald-700 for borders, and ring-emerald-700 for focus rings. In Tailwind v4 the CSS variable var(--color-emerald-700) is available natively.
Is Tailwind Emerald 700 WCAG accessible?
Tailwind Emerald 700 achieves a 5.48:1 contrast ratio on white (AA) and 3.83:1 on black (AA Large). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Emerald 700?
Tailwind Emerald 700 in OKLCH is oklch(0.508 0.105 166) — lightness 0.508, chroma 0.105, hue 166°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Emerald 700 used for?
At shade 700, Tailwind Emerald 700 is best described as "Dark accent & pressed state". Recommended uses: Pressed/active button states, Text links on white, Dark-mode primary buttons.