Slack Yellow

#ECB22E

Nearest Tailwind V4 Match
yellow-500
97.9% Match
Implementation
bg-yellow-500
text-yellow-500

Color Code Conversions

HEX Code
#ECB22E
RGB Value
rgb(236, 178, 46)
HSL Value
hsl(42, 83%, 55%)
OKLCH CSS (v4)
oklch(0.797 0.152 82.7)

Full Calculated Scale

50
#fdf4e4
100
#fde9c4
200
#f8d28b
300
#eab956
400
#cd970b
500
#b27b00
600
#986300
700
#835200
800
#6e4300
900
#5f3a00
950
#3e2200

Technical Background

Converting Slack Yellow (#ECB22E) 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 yellow-500

Frequently Asked Questions

What is the closest Tailwind class for Slack Yellow?

The closest visually matching Tailwind CSS class for Slack Yellow (#ECB22E) is yellow-500. Our algorithm calculates this using the CIEDE2000 ΔE standard, which shows a match score of 97.9%.

How do I use this color in my Tailwind config?

You have two options: use the native class bg-yellow-500 for the best out-of-the-box match, or add #ECB22E 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 Slack Yellow, 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