Color Values
- HEX
- #F0FDF4
- RGB
- rgb(240, 253, 244)
- HSL
- hsl(138, 76%, 97%)
- OKLCH
- oklch(0.982 0.018 156)
- CMYK
- cmyk(5%, 0%, 4%, 1%)
- CSS Variable
- var(--color-green-50)
- Tailwind Class
- bg-green-50
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
1.05:1
On Black
20.06:1
Tailwind Usage — All Utilities
Background
bg-green-50Text
text-green-50Border
border-green-50Ring
ring-green-50Outline
outline-green-50Fill
fill-green-50Stroke
stroke-green-50From (gradient)
from-green-50Via (gradient)
via-green-50To (gradient)
to-green-50Placeholder
placeholder-green-50Caret
caret-green-50Accent
accent-green-50Decoration
decoration-green-50Shadow Color
shadow-green-50Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'green-50': '#f0fdf4',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #F0FDF4;
/* RGB */
background-color: rgb(240, 253, 244);
/* HSL */
background-color: hsl(138, 76%, 97%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.982 0.018 156);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-green-50);
/* Gradient example */
background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);OKLCH — Modern Color Space
Lightness (L)
0.982
98% perceived brightness
Chroma (C)
0.018
Color intensity / saturation
Hue (H)
156°
Angle on perceptual hue wheel
oklch(0.982 0.018 156)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 Green palette
Recommended Uses
- ✓Page backgrounds
- ✓Subtle section fills
- ✓Notification banners
- ✓Hover state backgrounds
- ✓Table row alternates
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #F0FDF4
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Green 50
Nearest Tailwind equivalent — #F0FDF4
Frequently Asked Questions
- What is the hex code for Tailwind Green 50?
- Tailwind Green 50 has the hex code #F0FDF4. Its RGB value is rgb(240, 253, 244) and its HSL value is hsl(138, 76%, 97%).
- What Tailwind utility classes use Green 50?
- Use bg-green-50 for backgrounds, text-green-50 for text color, border-green-50 for borders, and ring-green-50 for focus rings. In Tailwind v4 the CSS variable var(--color-green-50) is available natively.
- Is Tailwind Green 50 WCAG accessible?
- Tailwind Green 50 achieves a 1.05:1 contrast ratio on white (Fail) and 20.06:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Green 50?
- Tailwind Green 50 in OKLCH is oklch(0.982 0.018 156) — lightness 0.982, chroma 0.018, hue 156°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Green 50 used for?
- At shade 50, Tailwind Green 50 is best described as "Ultra-light background tint". Recommended uses: Page backgrounds, Subtle section fills, Notification banners.