Skip to content
PantoneTools
yellow
Tailwind CSS palette

Yellow 50

yellow-50 · #FEFCE8

HEX

#FEFCE8

RGB

rgb(254, 252, 232)

CMYK

cmyk(0%, 1%, 9%, 0%)

HSL

hsl(55, 92%, 95%)

LAB

lab(98.6, -2.7, 9.8)

What is Yellow 50?

Yellow 50 is the yellow-50 reference in the Tailwind CSS palette. Its sRGB value is #FEFCE8 (rgb 254, 252, 232). 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 50 as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Yellow 50

An 11-step tonal scale derived from Yellow 50 (#FEFCE8). 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 #FFFFFD

50

#FFFFFD

#FFFFFD

Copied #FFFFFB

100

#FFFFFB

#FFFFFB

Copied #FFFEF8

200

#FFFEF8

#FFFEF8

Copied #FFFEF4

300

#FFFEF4

#FFFEF4

Copied #FEFDEE

400

#FEFDEE

#FEFDEE

Copied #FEFCE8

500

#FEFCE8

#FEFCE8

Copied #D8D6C5

600

#D8D6C5

#D8D6C5

Copied #A5A497

700

#A5A497

#A5A497

Copied #727168

800

#727168

#727168

Copied #403F3A

900

#403F3A

#403F3A

Copied #1E1E1C

950

#1E1E1C

#1E1E1C

Lighter tints (mixed with white)

Copied #FEFCEC

15%

#FEFCEC

Copied #FEFDEF

30%

#FEFDEF

Copied #FEFDF3

45%

#FEFDF3

Copied #FFFEF6

60%

#FFFEF6

Copied #FFFEFA

75%

#FFFEFA

Darker shades (mixed with black)

Copied #ECEBD8

15%

#ECEBD8

Copied #D9D7C6

30%

#D9D7C6

Copied #C3C1B2

45%

#C3C1B2

Copied #A9A89A

60%

#A9A89A

Copied #88877C

75%

#88877C

Color harmonies for Yellow 50

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

Complementary

180° opposite — strongest contrast

Copied #FEFCE8

#FEFCE8

#FEFCE8

Copied #E7E8FE

#E7E8FE

#E7E8FE

Triadic

Three colors 120° apart

Copied #FEFCE8

#FEFCE8

#FEFCE8

Copied #E7FEFC

#E7FEFC

#E7FEFC

Copied #FCE7FE

#FCE7FE

#FCE7FE

Analogous

Two neighbors ±30° on the wheel

Copied #FEF0E7

#FEF0E7

#FEF0E7

Copied #FEFCE8

#FEFCE8

#FEFCE8

Copied #F4FEE7

#F4FEE7

#F4FEE7

Split-complementary

Base + two colors flanking its complement

Copied #FEFCE8

#FEFCE8

#FEFCE8

Copied #E7F4FE

#E7F4FE

#E7F4FE

Copied #F0E7FE

#F0E7FE

#F0E7FE

Tetradic

Two complementary pairs

Copied #FEFCE8

#FEFCE8

#FEFCE8

Copied #E8FEE7

#E8FEE7

#E8FEE7

Copied #E7E8FE

#E7E8FE

#E7E8FE

Copied #FCE7FE

#FCE7FE

#FCE7FE

Square

Four colors evenly spaced 90° apart

Copied #FEFCE8

#FEFCE8

#FEFCE8

Copied #E7FEF0

#E7FEF0

#E7FEF0

Copied #E7E8FE

#E7E8FE

#E7E8FE

Copied #FEE7F4

#FEE7F4

#FEE7F4

Yellow 50 in every color space

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

#FEFCE8

RGB

rgb(254, 252, 232)

CMYK

cmyk(0%, 1%, 9%, 0%)

HSL

hsl(55, 92%, 95%)

HSV

hsv(55, 9%, 100%)

HWB

hwb(55 91% 0%)

CIE Lab

lab(98.6 -2.7 9.8)

OKLCH

oklch(98.7% 0.026 102.2)

XYZ (D65)

xyz(90.25, 96.52, 90.20)

Copy-ready code for Yellow 50

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: #FEFCE8;
background-color: #FEFCE8;

CSS variable

:root {
  --color-yellow-50: #FEFCE8;
}

Tailwind config

// tailwind.config.js
colors: {
  'yellow-50': '#FEFCE8',
}

Sass

$color-yellow-50: #FEFCE8;

Swift UIColor

UIColor(red: 0.996, green: 0.988, blue: 0.910, alpha: 1.0)

Android XML

<color name="yellow-50">#FEFCE8</color>

Closest match in every color system

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

RAL 9001

#FDF4E3

Cream

Copied #E7EBDA

RAL 9002

#E7EBDA

Grey white

Copied #EAE6CA

RAL 1013

#EAE6CA

Oyster white

Copied #FFFFFF

RAL 9010

#FFFFFF

Pure white

Copied #F6F6F6

RAL 9016

#F6F6F6

Traffic white

Copied #F4F4F4

RAL 9003

#F4F4F4

Signal white

FAQ about Yellow 50

What is the HEX code for Yellow 50?

Yellow 50 (yellow-50) has the HEX code #FEFCE8. In RGB it is rgb(254, 252, 232), and in CMYK it is cmyk(0%, 1%, 9%, 0%).

What is the OKLCH value of Yellow 50?

Yellow 50 converts to oklch(0.987 0.026 102.2). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Yellow 50 accessible for body text?

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

The closest Pantone reference to Yellow 50 by ΔE2000 perceptual distance is Pantone Cool Gray 1 C (#D9D9D6). 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 50?

The closest RAL Classic reference to Yellow 50 by ΔE2000 distance is RAL 9001 (Cream, #FDF4E3). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Yellow 50?

The complementary color (180° opposite on the HSL color wheel) of Yellow 50 is #E7E8FE. 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 50 — #FEFCE8 | PantoneTools