#F5F2A8 Color Information

Hex color code: #F5F2A8

#F5F2A8 is a light yellow color. In RGB it is (245, 242, 168), and in HSL it is (58°, 79%, 81%). It is commonly used in modern UI design.

Try:
Color NameMoccasin
HEX
#F5F2A8
RGB
245, 242, 168
HSL
58°, 79%, 81%
CMYK
0%, 1%, 31%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F5F2A8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

245, 242, 168

Red: 245 / Green: 242 / Blue: 168

HSL

58°, 79%, 81%

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

CMYK

0%, 1%, 31%, 4%

Cyan: 0% / Magenta: 1% / Yellow: 31% / Key: 4%

What color is #F5F2A8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F5F2A8 to RGB:

rgb(245, 242, 168)HEX to RGB Converter →

HEX to HSL

Convert #F5F2A8 to HSL:

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

HEX to CMYK

Convert #F5F2A8 to CMYK:

cmyk(0%, 1%, 31%, 4%)Color Converter →

Color Meaning and Usage

#F5F2A8 is a ethereal yellow color with RGB values of 245, 242, 168 and HSL of 58°, 79%, 81%. This very light tint evokes purity and simplicity, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F5F2A8 is #A8ABF5, creating high-contrast pairings. For softer combinations, try analogous colors like #F5CCA8.

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

Contrast with #F5F2A8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F5F2A8?

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

What is the RGB value of #F5F2A8?

#F5F2A8 in RGB is (245, 242, 168) - 245 red, 242 green, and 168 blue.

How to use #F5F2A8 in CSS?

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

What colors go well with #F5F2A8?

#A8ABF5 (complementary), #F5CCA8 (analogous), and #EDE864 (lighter shade) work well with #F5F2A8.