Skip to main content

bg-green-300

Tailwind Green 300

#86EFAC·Green family·Shade 300

Color Values

HEX
#86EFAC
RGB
rgb(134, 239, 172)
HSL
hsl(142, 77%, 73%)
OKLCH
oklch(0.871 0.136 154)
CMYK
cmyk(44%, 0%, 28%, 6%)
CSS Variable
var(--color-green-300)
Tailwind Class
bg-green-300

Accessibility Score

60/100

Good

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

On White

1.4:1

Fail

On Black

14.96:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-green-300

Text

text-green-300

Border

border-green-300

Ring

ring-green-300

Outline

outline-green-300

Fill

fill-green-300

Stroke

stroke-green-300

From (gradient)

from-green-300

Via (gradient)

via-green-300

To (gradient)

to-green-300

Placeholder

placeholder-green-300

Caret

caret-green-300

Accent

accent-green-300

Decoration

decoration-green-300

Shadow Color

shadow-green-300

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

/* Hex */
background-color: #86EFAC;

/* RGB */
background-color: rgb(134, 239, 172);

/* HSL */
background-color: hsl(142, 77%, 73%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.871 0.136 154);

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

/* Gradient example */
background: linear-gradient(135deg, #f0fdf4 0%, #4ade80 100%);

OKLCH — Modern Color Space

Lightness (L)

0.871

87% perceived brightness

Chroma (C)

0.136

Color intensity / saturation

Hue (H)

154°

Angle on perceptual hue wheel

oklch(0.871 0.136 154)

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 Green 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 — #86EFAC

Frequently Asked Questions

What is the hex code for Tailwind Green 300?
Tailwind Green 300 has the hex code #86EFAC. Its RGB value is rgb(134, 239, 172) and its HSL value is hsl(142, 77%, 73%).
What Tailwind utility classes use Green 300?
Use bg-green-300 for backgrounds, text-green-300 for text color, border-green-300 for borders, and ring-green-300 for focus rings. In Tailwind v4 the CSS variable var(--color-green-300) is available natively.
Is Tailwind Green 300 WCAG accessible?
Tailwind Green 300 achieves a 1.4:1 contrast ratio on white (Fail) and 14.96:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Green 300?
Tailwind Green 300 in OKLCH is oklch(0.871 0.136 154) — lightness 0.871, chroma 0.136, hue 154°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Green 300 used for?
At shade 300, Tailwind Green 300 is best described as "Light mid-tone accent". Recommended uses: Secondary button outlines, Icon strokes on dark backgrounds, Progress bar fills.