Skip to content
PantoneTools
yellow
Tailwind CSS palette

Yellow 400

yellow-400 · #FACC15

HEX

#FACC15

RGB

rgb(250, 204, 21)

CMYK

cmyk(0%, 18%, 92%, 2%)

HSL

hsl(48, 96%, 53%)

LAB

lab(83.7, 1.7, 82.5)

What is Yellow 400?

Yellow 400 is the yellow-400 reference in the Tailwind CSS palette. Its sRGB value is #FACC15 (rgb 250, 204, 21). 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 Yellow 400 as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Yellow 400

An 11-step tonal scale derived from Yellow 400 (#FACC15). 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 #FFFBEC

50

#FFFBEC

#FFFBEC

Copied #FEF7DA

100

#FEF7DA

#FEF7DA

Copied #FDEFB4

200

#FDEFB4

#FDEFB4

Copied #FDE68A

300

#FDE68A

#FDE68A

Copied #FBD950

400

#FBD950

#FBD950

Copied #FACC15

500

#FACC15

#FACC15

Copied #D5AD12

600

#D5AD12

#D5AD12

Copied #A3850E

700

#A3850E

#A3850E

Copied #715C09

800

#715C09

#715C09

Copied #3F3305

900

#3F3305

#3F3305

Copied #1E1803

950

#1E1803

#1E1803

Lighter tints (mixed with white)

Copied #FBD56E

15%

#FBD56E

Copied #FCDD96

30%

#FCDD96

Copied #FCE5B4

45%

#FCE5B4

Copied #FDECCC

60%

#FDECCC

Copied #FEF4E1

75%

#FEF4E1

Darker shades (mixed with black)

Copied #E9BE13

15%

#E9BE13

Copied #D6AE10

30%

#D6AE10

Copied #C09C0D

45%

#C09C0D

Copied #A6870A

60%

#A6870A

Copied #866C06

75%

#866C06

Color harmonies for Yellow 400

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

Complementary

180° opposite — strongest contrast

Copied #FACC15

#FACC15

#FACC15

Copied #1442FA

#1442FA

#1442FA

Triadic

Three colors 120° apart

Copied #FACC15

#FACC15

#FACC15

Copied #14FACC

#14FACC

#14FACC

Copied #CC14FA

#CC14FA

#CC14FA

Analogous

Two neighbors ±30° on the wheel

Copied #FA5914

#FA5914

#FA5914

Copied #FACC15

#FACC15

#FACC15

Copied #B5FA14

#B5FA14

#B5FA14

Split-complementary

Base + two colors flanking its complement

Copied #FACC15

#FACC15

#FACC15

Copied #14B5FA

#14B5FA

#14B5FA

Copied #5914FA

#5914FA

#5914FA

Tetradic

Two complementary pairs

Copied #FACC15

#FACC15

#FACC15

Copied #42FA14

#42FA14

#42FA14

Copied #1442FA

#1442FA

#1442FA

Copied #CC14FA

#CC14FA

#CC14FA

Square

Four colors evenly spaced 90° apart

Copied #FACC15

#FACC15

#FACC15

Copied #14FA59

#14FA59

#14FA59

Copied #1442FA

#1442FA

#1442FA

Copied #FA14B5

#FA14B5

#FA14B5

Yellow 400 in every color space

Full conversion of Yellow 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

#FACC15

RGB

rgb(250, 204, 21)

CMYK

cmyk(0%, 18%, 92%, 2%)

HSL

hsl(48, 96%, 53%)

HSV

hsv(48, 92%, 98%)

HWB

hwb(48 8% 2%)

CIE Lab

lab(83.7 1.7 82.5)

OKLCH

oklch(86.1% 0.173 91.9)

XYZ (D65)

xyz(61.16, 63.57, 9.76)

Copy-ready code for Yellow 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: #FACC15;
background-color: #FACC15;

CSS variable

:root {
  --color-yellow-400: #FACC15;
}

Tailwind config

// tailwind.config.js
colors: {
  'yellow-400': '#FACC15',
}

Sass

$color-yellow-400: #FACC15;

Swift UIColor

UIColor(red: 0.980, green: 0.800, blue: 0.082, alpha: 1.0)

Android XML

<color name="yellow-400">#FACC15</color>

Closest match in every color system

The nearest Yellow 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 #FAD201

RAL 1023

#FAD201

Traffic yellow

Copied #F5D033

RAL 1017

#F5D033

Saffron yellow

Copied #E5BE01

RAL 1003

#E5BE01

Signal yellow

Copied #F3DA0B

RAL 1021

#F3DA0B

Rape yellow

Copied #E1CC4F

RAL 1014

#E1CC4F

Ivory

Copied #D6AE01

RAL 1032

#D6AE01

Broom yellow

FAQ about Yellow 400

What is the HEX code for Yellow 400?

Yellow 400 (yellow-400) has the HEX code #FACC15. In RGB it is rgb(250, 204, 21), and in CMYK it is cmyk(0%, 18%, 92%, 2%).

What is the OKLCH value of Yellow 400?

Yellow 400 converts to oklch(0.861 0.173 91.9). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Yellow 400 accessible for body text?

Used as a background, Yellow 400 has a contrast ratio of 13.71:1 with black text and 1.53: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 Yellow 400?

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

What is the closest RAL color to Yellow 400?

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

What is the complementary color of Yellow 400?

The complementary color (180° opposite on the HSL color wheel) of Yellow 400 is #1442FA. 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 · Yellow 400 — #FACC15 | PantoneTools