#F0F0AC Color Information

Hex color code: #F0F0AC

A soft yellow shade, #F0F0AC appears as (240, 240, 172) in RGB and (60°, 69%, 81%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameWheat
HEX
#F0F0AC
RGB
240, 240, 172
HSL
60°, 69%, 81%
CMYK
0%, 0%, 28%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F0F0AC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 240, 172

Red: 240 / Green: 240 / Blue: 172

HSL

60°, 69%, 81%

Hue: 60° / Saturation: 69% / Lightness: 81%

CMYK

0%, 0%, 28%, 6%

Cyan: 0% / Magenta: 0% / Yellow: 28% / Key: 6%

What color is #F0F0AC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F0F0AC to RGB:

rgb(240, 240, 172)HEX to RGB Converter →

HEX to HSL

Convert #F0F0AC to HSL:

hsl(60, 69%, 81%)RGB to HSL Converter →

HEX to CMYK

Convert #F0F0AC to CMYK:

cmyk(0%, 0%, 28%, 6%)Color Converter →

Color Meaning and Usage

#F0F0AC is a ethereal yellow color with RGB values of 240, 240, 172 and HSL of 60°, 69%, 81%. 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 #F0F0AC is #ADADF0, creating high-contrast pairings. For softer combinations, try analogous colors like #F0CFAD.

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

Contrast with #F0F0AC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F0F0AC?

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

What is the RGB value of #F0F0AC?

#F0F0AC in RGB is (240, 240, 172) - 240 red, 240 green, and 172 blue.

How to use #F0F0AC in CSS?

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

What colors go well with #F0F0AC?

#ADADF0 (complementary), #F0CFAD (analogous), and #E4E46C (lighter shade) work well with #F0F0AC.