#FEF08A

#FEF08A

Comprehensive color parameter breakdown, RGB/CMYK conversion, WCAG accessibility metrics, and harmonious palette pairings.

HEX

#FEF08A

RGB

254, 240, 138

HSL

53°, 98%, 77%

CMYK

0%, 6%, 46%, 0%

OKLCH

0.948, 0.294, 53°

Tailwind Class

bg-[#fef08a]

Live UI Component Preview

Preview how #FEF08A renders across real buttons, badges, cards, and hero elements.

CTA Button
Pill Badge
Featured Category
Active Card Border

Highlighted interactive container with #FEF08A accent.

Tints of #FEF08A (Lighter Steps)

Created by progressively blending #FEF08A with pure white (#FFFFFF). Click any color to explore its dedicated color theory, or click copy to copy the hex code.

Shades of #FEF08A (Darker Steps)

Created by progressively mixing #FEF08A with pure black (#000000). Click any shade to inspect its full color profile, or copy the hex code directly.

Color Harmonies & Pairings

Scientifically calculated color schemes derived from the 360° color wheel relative to #FEF08A. Click any swatch to view its complete color profile.

Complementary (180° Opposite)

High Impact & Contrast

Directly across on the color wheel. Maximum visual tension, ideal for Call-to-Action (CTA) buttons and badges.

#FEF08A
#8B98FE

Analogous (±30° Neighbors)

Harmonious & Gentle

Adjacent hues on the color wheel. Natural and serene, perfect for gradients, backgrounds, and art themes.

Triadic (120° Equilateral Triangle)

Vibrant & Balanced

Three equidistant hues around the wheel. Rich in color balance, ideal for multi-category dashboards and charts.

Tetradic (90° Rectangle)

Rich 4-Color Palette

Two complementary pairs. Offers rich variety when one color dominates and others serve as accents.

WCAG 2.1 Accessibility Contrast Checker

Official Web Content Accessibility Guidelines compliance ratings for #FEF08A.

White Text (#FFFFFF)
Contrast Ratio:1.16 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)
Black Text (#000000)
Contrast Ratio:18.05 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)

Explore Related Colors & Combinations

Discover complementary and analogous colors paired with #FEF08A.

Frequently Asked Questions about #FEF08A

What is the RGB value of #FEF08A?

The RGB value of #FEF08A is rgb(254, 240, 138). It is composed of 254 red, 240 green, and 138 blue light channels.

What is the CMYK equivalent of #FEF08A for printing?

For four-color process printing (offset and digital), #FEF08A translates to Cyan 0%, Magenta 6%, Yellow 46%, and Key (Black) 0%.

What colors harmonize best with #FEF08A?

The direct 180° complementary color is #8B98FE. For softer and serene designs, its analogous neighbors are #FEB78B and #D2FE8B.

How do I use #FEF08A in CSS and Tailwind?

In standard CSS, use color: #FEF08A; or background-color: #FEF08A;. In Tailwind CSS, use arbitrary value syntax: bg-[#fef08a] or text-[#fef08a].