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
White text on this color
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.
50
#FFFBEC
#FFFBEC
100
#FEF7DA
#FEF7DA
200
#FDEFB4
#FDEFB4
300
#FDE68A
#FDE68A
400
#FBD950
#FBD950
500
#FACC15
#FACC15
600
#D5AD12
#D5AD12
700
#A3850E
#A3850E
800
#715C09
#715C09
900
#3F3305
#3F3305
950
#1E1803
#1E1803
Lighter tints (mixed with white)
15%
#FBD56E
30%
#FCDD96
45%
#FCE5B4
60%
#FDECCC
75%
#FEF4E1
Darker shades (mixed with black)
15%
#E9BE13
30%
#D6AE10
45%
#C09C0D
60%
#A6870A
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
#FACC15
#FACC15
#1442FA
#1442FA
Triadic
Three colors 120° apart
#FACC15
#FACC15
#14FACC
#14FACC
#CC14FA
#CC14FA
Analogous
Two neighbors ±30° on the wheel
#FA5914
#FA5914
#FACC15
#FACC15
#B5FA14
#B5FA14
Split-complementary
Base + two colors flanking its complement
#FACC15
#FACC15
#14B5FA
#14B5FA
#5914FA
#5914FA
Tetradic
Two complementary pairs
#FACC15
#FACC15
#42FA14
#42FA14
#1442FA
#1442FA
#CC14FA
#CC14FA
Square
Four colors evenly spaced 90° apart
#FACC15
#FACC15
#14FA59
#14FA59
#1442FA
#1442FA
#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.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 1023
#FAD201
Traffic yellow
RAL 1017
#F5D033
Saffron yellow
RAL 1003
#E5BE01
Signal yellow
RAL 1021
#F3DA0B
Rape yellow
RAL 1014
#E1CC4F
Ivory
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 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.