#F2F0AB Color Information

Hex color code: #F2F0AB

A soft yellow shade, #F2F0AB appears as (242, 240, 171) in RGB and (58°, 73%, 81%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameWheat
HEX
#F2F0AB
RGB
242, 240, 171
HSL
58°, 73%, 81%
CMYK
0%, 1%, 29%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2F0AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 240, 171

Red: 242 / Green: 240 / Blue: 171

HSL

58°, 73%, 81%

Hue: 58° / Saturation: 73% / Lightness: 81%

CMYK

0%, 1%, 29%, 5%

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

What color is #F2F0AB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2F0AB to RGB:

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

HEX to HSL

Convert #F2F0AB to HSL:

hsl(58, 73%, 81%)RGB to HSL Converter →

HEX to CMYK

Convert #F2F0AB to CMYK:

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

Color Meaning and Usage

#F2F0AB is a soft yellow color with RGB values of 242, 240, 171 and HSL of 58°, 73%, 81%. 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 #F2F0AB is #ABAEF2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2CCAB.

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

Contrast with #F2F0AB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2F0AB?

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

What is the RGB value of #F2F0AB?

#F2F0AB in RGB is (242, 240, 171) - 242 red, 240 green, and 171 blue.

How to use #F2F0AB in CSS?

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

What colors go well with #F2F0AB?

#ABAEF2 (complementary), #F2CCAB (analogous), and #E8E369 (lighter shade) work well with #F2F0AB.