#FFF2BB Color Information

Hex color code: #FFF2BB

A soft yellow shade, #FFF2BB appears as (255, 242, 187) in RGB and (49°, 100%, 87%) in HSL. It is often used for branding and logos.

Try:
Color NameMoccasin
HEX
#FFF2BB
RGB
255, 242, 187
HSL
49°, 100%, 87%
CMYK
0%, 5%, 27%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #FFF2BB; 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 #FFF2BB; background-color: #FFF2BB15; }

Alert / Toast

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

Link / Accent

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

a { color: #FFF2BB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

255, 242, 187

Red: 255 / Green: 242 / Blue: 187

HSL

49°, 100%, 87%

Hue: 49° / Saturation: 100% / Lightness: 87%

CMYK

0%, 5%, 27%, 0%

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

What color is #FFF2BB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #FFF2BB to RGB:

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

HEX to HSL

Convert #FFF2BB to HSL:

hsl(49, 100%, 87%)RGB to HSL Converter →

HEX to CMYK

Convert #FFF2BB to CMYK:

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

Color Meaning and Usage

A light yellow tone, #FFF2BB has RGB (255, 242, 187) and HSL (49°, 100%, 87%). Known for evoking purity and simplicity, this very light tint is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #FFF2BB is #BDC9FF, creating high-contrast pairings. For softer combinations, try analogous colors like #FFD2BD.

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

Contrast with #FFF2BB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #FFF2BB?

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

What is the RGB value of #FFF2BB?

#FFF2BB in RGB is (255, 242, 187) - 255 red, 242 green, and 187 blue.

How to use #FFF2BB in CSS?

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

What colors go well with #FFF2BB?

#BDC9FF (complementary), #FFD2BD (analogous), and #FFE570 (lighter shade) work well with #FFF2BB.