Skip to content
PantoneTools
yellow
Tailwind CSS palette

Amber 400

amber-400 · #FBBF24

HEX

#FBBF24

RGB

rgb(251, 191, 36)

CMYK

cmyk(0%, 24%, 86%, 2%)

HSL

hsl(43, 96%, 56%)

LAB

lab(80.7, 9.1, 77.2)

What is Amber 400?

Amber 400 is the amber-400 reference in the Tailwind CSS palette. Its sRGB value is #FBBF24 (rgb 251, 191, 36). It sits in the yellow family. The default color palette shipped with Tailwind CSS v3 by Tailwind Labs. 22 color families across 11 lightness steps (50 to 950). See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Amber 400 as a background.

Black text on this color

Sample text · 12.58 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.67 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Amber 400

An 11-step tonal scale derived from Amber 400 (#FBBF24). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FFFAED

50

#FFFAED

#FFFAED

Copied #FEF5DC

100

#FEF5DC

#FEF5DC

Copied #FEEBB9

200

#FEEBB9

#FEEBB9

Copied #FDDF92

300

#FDDF92

#FDDF92

Copied #FCCF5B

400

#FCCF5B

#FCCF5B

Copied #FBBF24

500

#FBBF24

#FBBF24

Copied #D5A21F

600

#D5A21F

#D5A21F

Copied #A37C17

700

#A37C17

#A37C17

Copied #715610

800

#715610

#715610

Copied #3F3009

900

#3F3009

#3F3009

Copied #1E1704

950

#1E1704

#1E1704

Lighter tints (mixed with white)

Copied #FCCA71

15%

#FCCA71

Copied #FCD598

30%

#FCD598

Copied #FDDFB5

45%

#FDDFB5

Copied #FDE8CC

60%

#FDE8CC

Copied #FEF1E1

75%

#FEF1E1

Darker shades (mixed with black)

Copied #EAB221

15%

#EAB221

Copied #D6A31D

30%

#D6A31D

Copied #C19219

45%

#C19219

Copied #A77E14

60%

#A77E14

Copied #87650E

75%

#87650E

Color harmonies for Amber 400

Classic color-theory harmonies derived from rotating the hue of Amber 400. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #FBBF24

#FBBF24

#FBBF24

Copied #2360FB

#2360FB

#2360FB

Triadic

Three colors 120° apart

Copied #FBBF24

#FBBF24

#FBBF24

Copied #23FBBD

#23FBBD

#23FBBD

Copied #BD23FB

#BD23FB

#BD23FB

Analogous

Two neighbors ±30° on the wheel

Copied #FB5223

#FB5223

#FB5223

Copied #FBBF24

#FBBF24

#FBBF24

Copied #CCFB23

#CCFB23

#CCFB23

Split-complementary

Base + two colors flanking its complement

Copied #FBBF24

#FBBF24

#FBBF24

Copied #23CCFB

#23CCFB

#23CCFB

Copied #5223FB

#5223FB

#5223FB

Tetradic

Two complementary pairs

Copied #FBBF24

#FBBF24

#FBBF24

Copied #60FB23

#60FB23

#60FB23

Copied #2360FB

#2360FB

#2360FB

Copied #BD23FB

#BD23FB

#BD23FB

Square

Four colors evenly spaced 90° apart

Copied #FBBF24

#FBBF24

#FBBF24

Copied #23FB52

#23FB52

#23FB52

Copied #2360FB

#2360FB

#2360FB

Copied #FB23CC

#FB23CC

#FB23CC

Amber 400 in every color space

Full conversion of Amber 400 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#FBBF24

RGB

rgb(251, 191, 36)

CMYK

cmyk(0%, 24%, 86%, 2%)

HSL

hsl(43, 96%, 56%)

HSV

hsv(43, 86%, 98%)

HWB

hwb(43 14% 2%)

CIE Lab

lab(80.7 9.1 77.2)

OKLCH

oklch(83.7% 0.164 84.4)

XYZ (D65)

xyz(58.74, 57.90, 9.75)

Copy-ready code for Amber 400

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #FBBF24;
background-color: #FBBF24;

CSS variable

:root {
  --color-amber-400: #FBBF24;
}

Tailwind config

// tailwind.config.js
colors: {
  'amber-400': '#FBBF24',
}

Sass

$color-amber-400: #FBBF24;

Swift UIColor

UIColor(red: 0.984, green: 0.749, blue: 0.141, alpha: 1.0)

Android XML

<color name="amber-400">#FBBF24</color>

Closest match in every color system

The nearest Amber 400 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in Tailwind CSS palette

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #E5BE01

RAL 1003

#E5BE01

Signal yellow

Copied #F4A900

RAL 1028

#F4A900

Melon yellow

Copied #F5D033

RAL 1017

#F5D033

Saffron yellow

Copied #FAD201

RAL 1023

#FAD201

Traffic yellow

Copied #D6AE01

RAL 1032

#D6AE01

Broom yellow

Copied #F3A505

RAL 1033

#F3A505

Dahlia yellow

FAQ about Amber 400

What is the HEX code for Amber 400?

Amber 400 (amber-400) has the HEX code #FBBF24. In RGB it is rgb(251, 191, 36), and in CMYK it is cmyk(0%, 24%, 86%, 2%).

What is the OKLCH value of Amber 400?

Amber 400 converts to oklch(0.837 0.164 84.4). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Amber 400 accessible for body text?

Used as a background, Amber 400 has a contrast ratio of 12.58:1 with black text and 1.67:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Amber 400?

The closest Pantone reference to Amber 400 by ΔE2000 perceptual distance is Pantone 123 C (#FFC72C). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Amber 400?

The closest RAL Classic reference to Amber 400 by ΔE2000 distance is RAL 1003 (Signal yellow, #E5BE01). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Amber 400?

The complementary color (180° opposite on the HSL color wheel) of Amber 400 is #2360FB. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

Tailwind CSS default palette (v3)

The default color palette shipped with Tailwind CSS v3 by Tailwind Labs Inc. Use as a reference for design tokens, web color systems, and Tailwind-based design conversations. Names like 'blue-500' are the project's own naming convention.

Source type
derived
Confidence
high
License
MIT
Last reviewed
2026-05-24

Workflow tags

tailwind
design-token
web-system
yellow

Tailwind palette values are designed for digital interfaces under sRGB. For print, convert to a process-appropriate value and proof against the substrate; do not rely on sRGB CMYK conversion for color-critical print work.

Tailwind CSS palette · Amber 400 — #FBBF24 | PantoneTools