#FFF2B4 Color Information

Hex color code: #FFF2B4

A airy yellow shade, #FFF2B4 appears as (255, 242, 180) in RGB and (50°, 100%, 85%) in HSL. It is widely used in graphic design.

Try:
Color NameMoccasin
HEX
#FFF2B4
RGB
255, 242, 180
HSL
50°, 100%, 85%
CMYK
0%, 5%, 29%, 0%

Shades

CSS Usage
color: #FFF2B4;
background-color: #FFF2B4;
border-color: #FFF2B4;
box-shadow: 0 0 10px #FFF2B4;
border: 2px solid #FFF2B4;
Tailwind Usage
bg-[#FFF2B4]
text-[#FFF2B4]
border-[#FFF2B4]
shadow-[0_0_10px_FFF2B4]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #FFF2B4, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #FFF2B4; color: #000000; }

Badge

New Feature
.badge { background-color: #FFF2B4; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #FFF2B4; background-color: #FFF2B415; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #FFF2B420; border-left: 4px solid #FFF2B4; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #FFF2B4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #FFF2B4 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

255, 242, 180

Red: 255 / Green: 242 / Blue: 180

HSL

50°, 100%, 85%

Hue: 50° / Saturation: 100% / Lightness: 85%

CMYK

0%, 5%, 29%, 0%

Cyan: 0% / Magenta: 5% / Yellow: 29% / Key: 0%

What color is #FFF2B4?

#FFF2B4 is a very light tint associated with purity and simplicity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #FFF2B4 to RGB:

rgb(255, 242, 180)HEX to RGB Converter →

HEX to HSL

Convert #FFF2B4 to HSL:

hsl(50, 100%, 85%)RGB to HSL Converter →

HEX to CMYK

Convert #FFF2B4 to CMYK:

cmyk(0%, 5%, 29%, 0%)Color Converter →

Color Meaning and Usage

#FFF2B4 is a soft yellow color with RGB values of 255, 242, 180 and HSL of 50°, 100%, 85%. This very light tint evokes purity and simplicity, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #FFF2B4 is #B3BFFF, creating high-contrast pairings. For softer combinations, try analogous colors like #FFCCB3.

Use #FFF2B4 in CSS: color: #FFF2B4 or background-color: #FFF2B4. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #FFF2B4

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 18.61:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #FFF2B4?

#FFF2B4 is a soft yellow color - a very light tint that evokes purity and simplicity.

What is the RGB value of #FFF2B4?

#FFF2B4 in RGB is (255, 242, 180) - 255 red, 242 green, and 180 blue.

How to use #FFF2B4 in CSS?

Use #FFF2B4 directly in your CSS properties like color or background-color.

What colors go well with #FFF2B4?

#B3BFFF (complementary), #FFCCB3 (analogous), and #FFE666 (lighter shade) work well with #FFF2B4.