Dark Khaki

#BDB76B

Nearest Tailwind V4 Match
amber-200
86.7% Match
Implementation
bg-amber-200
text-amber-200

Color Code Conversions

HEX Code
#BDB76B
RGB Value
rgb(189, 183, 107)
HSL Value
hsl(56, 38%, 58%)
OKLCH CSS (v4)
oklch(0.767 0.098 104.5)

Full Calculated Scale

50
#f6f6eb
100
#eeedd3
200
#dedaaa
300
#c9c485
400
#aaa55e
500
#8f893d
600
#787126
700
#666018
800
#544f0d
900
#49440b
950
#2e2a00

Technical Background

Converting Dark Khaki (#BDB76B) 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.

Frequently Asked Questions

What is the closest Tailwind class for Dark Khaki?

The closest visually matching Tailwind CSS class for Dark Khaki (#BDB76B) is amber-200. Our algorithm calculates this using the CIEDE2000 ΔE standard, which shows a match score of 86.7%.

How do I use this color in my Tailwind config?

You have two options: use the native class bg-amber-200 for the best out-of-the-box match, or add #BDB76B 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 Dark Khaki, 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