Skip to main content

bg-emerald-800

Tailwind Emerald 800

#065F46·Emerald family·Shade 800

Color Values

HEX
#065F46
RGB
rgb(6, 95, 70)
HSL
hsl(163, 88%, 20%)
OKLCH
oklch(0.432 0.086 167)
CMYK
cmyk(94%, 0%, 26%, 63%)
CSS Variable
var(--color-emerald-800)
Tailwind Class
bg-emerald-800

Accessibility Score

60/100

Good

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

On White

7.68:1

AAA

On Black

2.73:1

Fail
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-emerald-800

Text

text-emerald-800

Border

border-emerald-800

Ring

ring-emerald-800

Outline

outline-emerald-800

Fill

fill-emerald-800

Stroke

stroke-emerald-800

From (gradient)

from-emerald-800

Via (gradient)

via-emerald-800

To (gradient)

to-emerald-800

Placeholder

placeholder-emerald-800

Caret

caret-emerald-800

Accent

accent-emerald-800

Decoration

decoration-emerald-800

Shadow Color

shadow-emerald-800

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

/* Hex */
background-color: #065F46;

/* RGB */
background-color: rgb(6, 95, 70);

/* HSL */
background-color: hsl(163, 88%, 20%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.432 0.086 167);

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

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

OKLCH — Modern Color Space

Lightness (L)

0.432

43% perceived brightness

Chroma (C)

0.086

Color intensity / saturation

Hue (H)

167°

Angle on perceptual hue wheel

oklch(0.432 0.086 167)

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 Emerald 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 — #065F46

Frequently Asked Questions

What is the hex code for Tailwind Emerald 800?
Tailwind Emerald 800 has the hex code #065F46. Its RGB value is rgb(6, 95, 70) and its HSL value is hsl(163, 88%, 20%).
What Tailwind utility classes use Emerald 800?
Use bg-emerald-800 for backgrounds, text-emerald-800 for text color, border-emerald-800 for borders, and ring-emerald-800 for focus rings. In Tailwind v4 the CSS variable var(--color-emerald-800) is available natively.
Is Tailwind Emerald 800 WCAG accessible?
Tailwind Emerald 800 achieves a 7.68:1 contrast ratio on white (AAA) and 2.73:1 on black (Fail). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Emerald 800?
Tailwind Emerald 800 in OKLCH is oklch(0.432 0.086 167) — lightness 0.432, chroma 0.086, hue 167°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Emerald 800 used for?
At shade 800, Tailwind Emerald 800 is best described as "Deep tone for text & UI". Recommended uses: Heading text on white, Icon fills on light backgrounds, Dark sidebar fills.