Skip to main content

bg-lime-400

Tailwind Lime 400

#A3E635·Lime family·Shade 400

Color Values

HEX
#A3E635
RGB
rgb(163, 230, 53)
HSL
hsl(83, 78%, 55%)
OKLCH
oklch(0.849 0.207 129)
CMYK
cmyk(29%, 0%, 77%, 10%)
CSS Variable
var(--color-lime-400)
Tailwind Class
bg-lime-400

Accessibility Score

60/100

Good

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

On White

1.51:1

Fail

On Black

13.93:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-lime-400

Text

text-lime-400

Border

border-lime-400

Ring

ring-lime-400

Outline

outline-lime-400

Fill

fill-lime-400

Stroke

stroke-lime-400

From (gradient)

from-lime-400

Via (gradient)

via-lime-400

To (gradient)

to-lime-400

Placeholder

placeholder-lime-400

Caret

caret-lime-400

Accent

accent-lime-400

Decoration

decoration-lime-400

Shadow Color

shadow-lime-400

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'lime-400': '#a3e635', }, }, }, };

CSS Equivalent

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

/* RGB */
background-color: rgb(163, 230, 53);

/* HSL */
background-color: hsl(83, 78%, 55%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.849 0.207 129);

/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-lime-400);

/* Gradient example */
background: linear-gradient(135deg, #f7fee7 0%, #84cc16 100%);

OKLCH — Modern Color Space

Lightness (L)

0.849

85% perceived brightness

Chroma (C)

0.207

Color intensity / saturation

Hue (H)

129°

Angle on perceptual hue wheel

oklch(0.849 0.207 129)

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

Mid-tone accent

Shade 400 of the Lime palette

Recommended Uses

  • Icon fills on white
  • Secondary buttons (large text)
  • Chart & data visualization bars
  • Decorative UI elements

Avoid

Body text on white — often fails WCAG AA for normal text.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #A3E635

Frequently Asked Questions

What is the hex code for Tailwind Lime 400?
Tailwind Lime 400 has the hex code #A3E635. Its RGB value is rgb(163, 230, 53) and its HSL value is hsl(83, 78%, 55%).
What Tailwind utility classes use Lime 400?
Use bg-lime-400 for backgrounds, text-lime-400 for text color, border-lime-400 for borders, and ring-lime-400 for focus rings. In Tailwind v4 the CSS variable var(--color-lime-400) is available natively.
Is Tailwind Lime 400 WCAG accessible?
Tailwind Lime 400 achieves a 1.51:1 contrast ratio on white (Fail) and 13.93:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Lime 400?
Tailwind Lime 400 in OKLCH is oklch(0.849 0.207 129) — lightness 0.849, chroma 0.207, hue 129°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Lime 400 used for?
At shade 400, Tailwind Lime 400 is best described as "Mid-tone accent". Recommended uses: Icon fills on white, Secondary buttons (large text), Chart & data visualization bars.