#F0F2D4 Color Information

Hex color code: #F0F2D4

#F0F2D4 is a delicate yellow color. In RGB it is (240, 242, 212), and in HSL it is (64°, 54%, 89%). It is popular in mobile app design.

Try:
Color NameBeige
HEX
#F0F2D4
RGB
240, 242, 212
HSL
64°, 54%, 89%
CMYK
1%, 0%, 12%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F0F2D4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 242, 212

Red: 240 / Green: 242 / Blue: 212

HSL

64°, 54%, 89%

Hue: 64° / Saturation: 54% / Lightness: 89%

CMYK

1%, 0%, 12%, 5%

Cyan: 1% / Magenta: 0% / Yellow: 12% / Key: 5%

What color is #F0F2D4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F0F2D4 to RGB:

rgb(240, 242, 212)HEX to RGB Converter →

HEX to HSL

Convert #F0F2D4 to HSL:

hsl(64, 54%, 89%)RGB to HSL Converter →

HEX to CMYK

Convert #F0F2D4 to CMYK:

cmyk(1%, 0%, 12%, 5%)Color Converter →

Color Meaning and Usage

#F0F2D4 is a soft yellow color with RGB values of 240, 242, 212 and HSL of 64°, 54%, 89%. This very light tint evokes purity and simplicity, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F0F2D4 is #D6D4F2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2E5D4.

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

Contrast with #F0F2D4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F0F2D4?

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

What is the RGB value of #F0F2D4?

#F0F2D4 in RGB is (240, 242, 212) - 240 red, 242 green, and 212 blue.

How to use #F0F2D4 in CSS?

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

What colors go well with #F0F2D4?

#D6D4F2 (complementary), #F2E5D4 (analogous), and #DCE199 (lighter shade) work well with #F0F2D4.