Firebase Yellow

#FFCB2B

Nearest Tailwind V4 Match
yellow-400
98.5% Match
Implementation
bg-yellow-400
text-yellow-400

Color Code Conversions

HEX Code
#FFCB2B
RGB Value
rgb(255, 203, 43)
HSL Value
hsl(45, 100%, 58%)
OKLCH CSS (v4)
oklch(0.864 0.167 88.7)

Full Calculated Scale

50
#fcf5e3
100
#fbeabf
200
#f5d481
300
#e6bb43
400
#ca9a00
500
#af7d00
600
#956500
700
#815500
800
#6c4500
900
#5d3b00
950
#3d2300

Technical Background

Converting Firebase Yellow (#FFCB2B) 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-400

Frequently Asked Questions

What is the closest Tailwind class for Firebase Yellow?

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

How do I use this color in my Tailwind config?

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