#F8F0AF Color Information

Hex color code: #F8F0AF

The hex color #F8F0AF is a soft yellow with RGB values of (248, 240, 175) and HSL of (53°, 84%, 83%). It is frequently seen in web interfaces.

Try:
Color NameMoccasin
HEX
#F8F0AF
RGB
248, 240, 175
HSL
53°, 84%, 83%
CMYK
0%, 3%, 29%, 3%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F8F0AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

248, 240, 175

Red: 248 / Green: 240 / Blue: 175

HSL

53°, 84%, 83%

Hue: 53° / Saturation: 84% / Lightness: 83%

CMYK

0%, 3%, 29%, 3%

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

What color is #F8F0AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F8F0AF to RGB:

rgb(248, 240, 175)HEX to RGB Converter →

HEX to HSL

Convert #F8F0AF to HSL:

hsl(53, 84%, 83%)RGB to HSL Converter →

HEX to CMYK

Convert #F8F0AF to CMYK:

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

Color Meaning and Usage

#F8F0AF is a airy yellow color with RGB values of 248, 240, 175 and HSL of 53°, 84%, 83%. This very light tint evokes purity and simplicity, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F8F0AF is #AFB8F8, creating high-contrast pairings. For softer combinations, try analogous colors like #F8CBAF.

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

Contrast with #F8F0AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F8F0AF?

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

What is the RGB value of #F8F0AF?

#F8F0AF in RGB is (248, 240, 175) - 248 red, 240 green, and 175 blue.

How to use #F8F0AF in CSS?

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

What colors go well with #F8F0AF?

#AFB8F8 (complementary), #F8CBAF (analogous), and #F2E269 (lighter shade) work well with #F8F0AF.