Green Prime

#22C55E

Nearest Tailwind V4 Match
green-500
97.6% Match
Implementation
bg-green-500
text-green-500

Color Code Conversions

HEX Code
#22C55E
RGB Value
rgb(34, 197, 94)
HSL Value
hsl(142, 71%, 45%)
OKLCH CSS (v4)
oklch(0.723 0.192 149.6)

Full Calculated Scale

50
#e8fbeb
100
#ccf9d4
200
#9aefab
300
#69de86
400
#2dc05f
500
#00a43e
600
#008a26
700
#007618
800
#00630c
900
#00550b
950
#003700

Technical Background

Converting Green Prime (#22C55E) to Tailwind CSS requires more than just picking the nearest hex. Our algorithm uses CIEDE2000, a perceptual color difference formula that accounts for how human vision processes lightness, chroma, and hue.

The generated scale follows the Tailwind CSS v4 OKLCH standard, ensuring perfectly uniform weight across the entire spectrum. This prevents common issues like "hue shifting" where colors turn purple or grey as they get darker or lighter. You can customize this further in our Palette Generator.

Other colors matching green-500

Frequently Asked Questions

What is the closest Tailwind class for Green Prime?

The closest visually matching Tailwind CSS class for Green Prime (#22C55E) is green-500. Our algorithm calculates this using the CIEDE2000 ΔE standard, which shows a match score of 97.6%.

How do I use this color in my Tailwind config?

You have two options: use the native class bg-green-500 for the best out-of-the-box match, or add #22C55E directly to your Tailwind theme configuration for 100% brand accuracy.

Why use OKLCH for this scale?

Tailwind CSS v4 uses OKLCH because it is perceptually uniform. When we generate the 50-950 scale for Green Prime, OKLCH ensures that the color stays vibrant and doesn't shift towards different hues as it gets lighter or darker.

Need a custom palette?

Use our professional-grade generator to create a full theme from any custom hex code.

Open Generator