#F0CC98 Color Information

Hex color code: #F0CC98

A light orange shade, #F0CC98 appears as (240, 204, 152) in RGB and (35°, 75%, 77%) in HSL. It is commonly used in modern UI design.

Try:
Color NameKhaki
HEX
#F0CC98
RGB
240, 204, 152
HSL
35°, 75%, 77%
CMYK
0%, 15%, 37%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F0CC98; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 204, 152

Red: 240 / Green: 204 / Blue: 152

HSL

35°, 75%, 77%

Hue: 35° / Saturation: 75% / Lightness: 77%

CMYK

0%, 15%, 37%, 6%

Cyan: 0% / Magenta: 15% / Yellow: 37% / Key: 6%

What color is #F0CC98?

#F0CC98 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F0CC98 to RGB:

rgb(240, 204, 152)HEX to RGB Converter →

HEX to HSL

Convert #F0CC98 to HSL:

hsl(35, 75%, 77%)RGB to HSL Converter →

HEX to CMYK

Convert #F0CC98 to CMYK:

cmyk(0%, 15%, 37%, 6%)Color Converter →

Color Meaning and Usage

A light orange tone, #F0CC98 has RGB (240, 204, 152) and HSL (35°, 75%, 77%). Known for evoking optimism and creativity, this orange-yellow hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F0CC98 is #98BDF0, creating high-contrast pairings. For softer combinations, try analogous colors like #F0A098.

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

Contrast with #F0CC98

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F0CC98?

#F0CC98 is a light orange color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #F0CC98?

#F0CC98 in RGB is (240, 204, 152) - 240 red, 204 green, and 152 blue.

How to use #F0CC98 in CSS?

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

What colors go well with #F0CC98?

#98BDF0 (complementary), #F0A098 (analogous), and #E7AA55 (lighter shade) work well with #F0CC98.