Skip to main content

bg-emerald-950

Tailwind Emerald 950

#022C22·Emerald family·Shade 950

Color Values

HEX
#022C22
RGB
rgb(2, 44, 34)
HSL
hsl(166, 91%, 9%)
OKLCH
oklch(0.262 0.049 173)
CMYK
cmyk(95%, 0%, 23%, 83%)
CSS Variable
var(--color-emerald-950)
Tailwind Class
bg-emerald-950

Accessibility Score

60/100

Good

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

On White

15.15:1

AAA

On Black

1.39:1

Fail
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-emerald-950

Text

text-emerald-950

Border

border-emerald-950

Ring

ring-emerald-950

Outline

outline-emerald-950

Fill

fill-emerald-950

Stroke

stroke-emerald-950

From (gradient)

from-emerald-950

Via (gradient)

via-emerald-950

To (gradient)

to-emerald-950

Placeholder

placeholder-emerald-950

Caret

caret-emerald-950

Accent

accent-emerald-950

Decoration

decoration-emerald-950

Shadow Color

shadow-emerald-950

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

/* Hex */
background-color: #022C22;

/* RGB */
background-color: rgb(2, 44, 34);

/* HSL */
background-color: hsl(166, 91%, 9%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.262 0.049 173);

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

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

OKLCH — Modern Color Space

Lightness (L)

0.262

26% perceived brightness

Chroma (C)

0.049

Color intensity / saturation

Hue (H)

173°

Angle on perceptual hue wheel

oklch(0.262 0.049 173)

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-dark near-black variant

Shade 950 of the Emerald palette

Recommended Uses

  • Maximum-contrast text on white
  • Rich dark card backgrounds
  • Dark theme page backgrounds
  • Tinted near-black UI surfaces

Avoid

On dark or dark-gray backgrounds — near-zero contrast.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #022C22

Frequently Asked Questions

What is the hex code for Tailwind Emerald 950?
Tailwind Emerald 950 has the hex code #022C22. Its RGB value is rgb(2, 44, 34) and its HSL value is hsl(166, 91%, 9%).
What Tailwind utility classes use Emerald 950?
Use bg-emerald-950 for backgrounds, text-emerald-950 for text color, border-emerald-950 for borders, and ring-emerald-950 for focus rings. In Tailwind v4 the CSS variable var(--color-emerald-950) is available natively.
Is Tailwind Emerald 950 WCAG accessible?
Tailwind Emerald 950 achieves a 15.15:1 contrast ratio on white (AAA) and 1.39:1 on black (Fail). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Emerald 950?
Tailwind Emerald 950 in OKLCH is oklch(0.262 0.049 173) — lightness 0.262, chroma 0.049, hue 173°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Emerald 950 used for?
At shade 950, Tailwind Emerald 950 is best described as "Ultra-dark near-black variant". Recommended uses: Maximum-contrast text on white, Rich dark card backgrounds, Dark theme page backgrounds.