#F2E7B1 Color Information

Hex color code: #F2E7B1

#F2E7B1 is a soft yellow color. In RGB it is (242, 231, 177), and in HSL it is (50°, 71%, 82%). It is frequently seen in web interfaces.

Try:
Color NameWheat
HEX
#F2E7B1
RGB
242, 231, 177
HSL
50°, 71%, 82%
CMYK
0%, 5%, 27%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2E7B1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 231, 177

Red: 242 / Green: 231 / Blue: 177

HSL

50°, 71%, 82%

Hue: 50° / Saturation: 71% / Lightness: 82%

CMYK

0%, 5%, 27%, 5%

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

What color is #F2E7B1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2E7B1 to RGB:

rgb(242, 231, 177)HEX to RGB Converter →

HEX to HSL

Convert #F2E7B1 to HSL:

hsl(50, 71%, 82%)RGB to HSL Converter →

HEX to CMYK

Convert #F2E7B1 to CMYK:

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

Color Meaning and Usage

A ethereal yellow tone, #F2E7B1 has RGB (242, 231, 177) and HSL (50°, 71%, 82%). Known for evoking purity and simplicity, this very light tint is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2E7B1 is #B1BBF2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2C6B1.

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

Contrast with #F2E7B1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2E7B1?

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

What is the RGB value of #F2E7B1?

#F2E7B1 in RGB is (242, 231, 177) - 242 red, 231 green, and 177 blue.

How to use #F2E7B1 in CSS?

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

What colors go well with #F2E7B1?

#B1BBF2 (complementary), #F2C6B1 (analogous), and #E7D36F (lighter shade) work well with #F2E7B1.