Skip to main content

bg-emerald-50

Tailwind Emerald 50

#ECFDF5·Emerald family·Shade 50

Color Values

HEX
#ECFDF5
RGB
rgb(236, 253, 245)
HSL
hsl(152, 81%, 96%)
OKLCH
oklch(0.979 0.021 166)
CMYK
cmyk(7%, 0%, 3%, 1%)
CSS Variable
var(--color-emerald-50)
Tailwind Class
bg-emerald-50

Accessibility Score

60/100

Good

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

On White

1.05:1

Fail

On Black

19.94:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-emerald-50

Text

text-emerald-50

Border

border-emerald-50

Ring

ring-emerald-50

Outline

outline-emerald-50

Fill

fill-emerald-50

Stroke

stroke-emerald-50

From (gradient)

from-emerald-50

Via (gradient)

via-emerald-50

To (gradient)

to-emerald-50

Placeholder

placeholder-emerald-50

Caret

caret-emerald-50

Accent

accent-emerald-50

Decoration

decoration-emerald-50

Shadow Color

shadow-emerald-50

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

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

/* RGB */
background-color: rgb(236, 253, 245);

/* HSL */
background-color: hsl(152, 81%, 96%);

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

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

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

OKLCH — Modern Color Space

Lightness (L)

0.979

98% perceived brightness

Chroma (C)

0.021

Color intensity / saturation

Hue (H)

166°

Angle on perceptual hue wheel

oklch(0.979 0.021 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

Ultra-light background tint

Shade 50 of the Emerald palette

Recommended Uses

  • Page backgrounds
  • Subtle section fills
  • Notification banners
  • Hover state backgrounds
  • Table row alternates

Avoid

Text on white — contrast is too low for readability.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #ECFDF5

Frequently Asked Questions

What is the hex code for Tailwind Emerald 50?
Tailwind Emerald 50 has the hex code #ECFDF5. Its RGB value is rgb(236, 253, 245) and its HSL value is hsl(152, 81%, 96%).
What Tailwind utility classes use Emerald 50?
Use bg-emerald-50 for backgrounds, text-emerald-50 for text color, border-emerald-50 for borders, and ring-emerald-50 for focus rings. In Tailwind v4 the CSS variable var(--color-emerald-50) is available natively.
Is Tailwind Emerald 50 WCAG accessible?
Tailwind Emerald 50 achieves a 1.05:1 contrast ratio on white (Fail) and 19.94:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Emerald 50?
Tailwind Emerald 50 in OKLCH is oklch(0.979 0.021 166) — lightness 0.979, chroma 0.021, hue 166°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Emerald 50 used for?
At shade 50, Tailwind Emerald 50 is best described as "Ultra-light background tint". Recommended uses: Page backgrounds, Subtle section fills, Notification banners.