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
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
15.15:1
On Black
1.39:1
Tailwind Usage — All Utilities
Background
bg-emerald-950Text
text-emerald-950Border
border-emerald-950Ring
ring-emerald-950Outline
outline-emerald-950Fill
fill-emerald-950Stroke
stroke-emerald-950From (gradient)
from-emerald-950Via (gradient)
via-emerald-950To (gradient)
to-emerald-950Placeholder
placeholder-emerald-950Caret
caret-emerald-950Accent
accent-emerald-950Decoration
decoration-emerald-950Shadow Color
shadow-emerald-950Tailwind 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
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #022C22
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Emerald 950
Nearest Tailwind equivalent — #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.