#FFF2B5 Color Information

Hex color code: #FFF2B5

The hex color #FFF2B5 is a airy yellow with RGB values of (255, 242, 181) and HSL of (49°, 100%, 85%). It is widely used in graphic design.

Try:
Color NameMoccasin
HEX
#FFF2B5
RGB
255, 242, 181
HSL
49°, 100%, 85%
CMYK
0%, 5%, 29%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #FFF2B5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

255, 242, 181

Red: 255 / Green: 242 / Blue: 181

HSL

49°, 100%, 85%

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

CMYK

0%, 5%, 29%, 0%

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

What color is #FFF2B5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #FFF2B5 to RGB:

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

HEX to HSL

Convert #FFF2B5 to HSL:

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

HEX to CMYK

Convert #FFF2B5 to CMYK:

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

Color Meaning and Usage

#FFF2B5 is a soft yellow color with RGB values of 255, 242, 181 and HSL of 49°, 100%, 85%. This very light tint evokes purity and simplicity, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #FFF2B5 is #B3C1FF, creating high-contrast pairings. For softer combinations, try analogous colors like #FFCBB3.

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

Contrast with #FFF2B5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #FFF2B5?

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

What is the RGB value of #FFF2B5?

#FFF2B5 in RGB is (255, 242, 181) - 255 red, 242 green, and 181 blue.

How to use #FFF2B5 in CSS?

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

What colors go well with #FFF2B5?

#B3C1FF (complementary), #FFCBB3 (analogous), and #FFE366 (lighter shade) work well with #FFF2B5.