#F8F8AF Color Information

Hex color code: #F8F8AF

The hex color #F8F8AF is a delicate yellow with RGB values of (248, 248, 175) and HSL of (60°, 84%, 83%). It is often used for branding and logos.

Try:
Color NameMoccasin
HEX
#F8F8AF
RGB
248, 248, 175
HSL
60°, 84%, 83%
CMYK
0%, 0%, 29%, 3%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F8F8AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

248, 248, 175

Red: 248 / Green: 248 / Blue: 175

HSL

60°, 84%, 83%

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

CMYK

0%, 0%, 29%, 3%

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

What color is #F8F8AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F8F8AF to RGB:

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

HEX to HSL

Convert #F8F8AF to HSL:

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

HEX to CMYK

Convert #F8F8AF to CMYK:

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

Color Meaning and Usage

#F8F8AF is a light yellow color with RGB values of 248, 248, 175 and HSL of 60°, 84%, 83%. This very light tint evokes purity and simplicity, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F8F8AF is #AFAFF8, creating high-contrast pairings. For softer combinations, try analogous colors like #F8D4AF.

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

Contrast with #F8F8AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F8F8AF?

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

What is the RGB value of #F8F8AF?

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

How to use #F8F8AF in CSS?

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

What colors go well with #F8F8AF?

#AFAFF8 (complementary), #F8D4AF (analogous), and #F2F269 (lighter shade) work well with #F8F8AF.