Skip to main content

bg-lime-300

Tailwind Lime 300

#BEF264·Lime family·Shade 300

Color Values

HEX
#BEF264
RGB
rgb(190, 242, 100)
HSL
hsl(82, 85%, 67%)
OKLCH
oklch(0.897 0.179 127)
CMYK
cmyk(21%, 0%, 59%, 5%)
CSS Variable
var(--color-lime-300)
Tailwind Class
bg-lime-300

Accessibility Score

60/100

Good

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

On White

1.31:1

Fail

On Black

16.07:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-lime-300

Text

text-lime-300

Border

border-lime-300

Ring

ring-lime-300

Outline

outline-lime-300

Fill

fill-lime-300

Stroke

stroke-lime-300

From (gradient)

from-lime-300

Via (gradient)

via-lime-300

To (gradient)

to-lime-300

Placeholder

placeholder-lime-300

Caret

caret-lime-300

Accent

accent-lime-300

Decoration

decoration-lime-300

Shadow Color

shadow-lime-300

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

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

/* RGB */
background-color: rgb(190, 242, 100);

/* HSL */
background-color: hsl(82, 85%, 67%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.897 0.179 127);

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

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

OKLCH — Modern Color Space

Lightness (L)

0.897

90% perceived brightness

Chroma (C)

0.179

Color intensity / saturation

Hue (H)

127°

Angle on perceptual hue wheel

oklch(0.897 0.179 127)

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

Light mid-tone accent

Shade 300 of the Lime palette

Recommended Uses

  • Secondary button outlines
  • Icon strokes on dark backgrounds
  • Progress bar fills
  • Selected state highlights

Avoid

Normal-size text on white — generally below WCAG AA threshold.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #BEF264

Frequently Asked Questions

What is the hex code for Tailwind Lime 300?
Tailwind Lime 300 has the hex code #BEF264. Its RGB value is rgb(190, 242, 100) and its HSL value is hsl(82, 85%, 67%).
What Tailwind utility classes use Lime 300?
Use bg-lime-300 for backgrounds, text-lime-300 for text color, border-lime-300 for borders, and ring-lime-300 for focus rings. In Tailwind v4 the CSS variable var(--color-lime-300) is available natively.
Is Tailwind Lime 300 WCAG accessible?
Tailwind Lime 300 achieves a 1.31:1 contrast ratio on white (Fail) and 16.07:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Lime 300?
Tailwind Lime 300 in OKLCH is oklch(0.897 0.179 127) — lightness 0.897, chroma 0.179, hue 127°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Lime 300 used for?
At shade 300, Tailwind Lime 300 is best described as "Light mid-tone accent". Recommended uses: Secondary button outlines, Icon strokes on dark backgrounds, Progress bar fills.