#F0D875 Color Information

Hex color code: #F0D875

A bold yellow shade, #F0D875 appears as (240, 216, 117) in RGB and (48°, 80%, 70%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameKhaki
HEX
#F0D875
RGB
240, 216, 117
HSL
48°, 80%, 70%
CMYK
0%, 10%, 51%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F0D875; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 216, 117

Red: 240 / Green: 216 / Blue: 117

HSL

48°, 80%, 70%

Hue: 48° / Saturation: 80% / Lightness: 70%

CMYK

0%, 10%, 51%, 6%

Cyan: 0% / Magenta: 10% / Yellow: 51% / Key: 6%

What color is #F0D875?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F0D875 to RGB:

rgb(240, 216, 117)HEX to RGB Converter →

HEX to HSL

Convert #F0D875 to HSL:

hsl(48, 80%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #F0D875 to CMYK:

cmyk(0%, 10%, 51%, 6%)Color Converter →

Color Meaning and Usage

#F0D875 is a dynamic yellow color with RGB values of 240, 216, 117 and HSL of 48°, 80%, 70%. This orange-yellow hue evokes optimism and creativity, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F0D875 is #758EF0, creating high-contrast pairings. For softer combinations, try analogous colors like #F09A75.

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

Contrast with #F0D875

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F0D875?

#F0D875 is a dynamic yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #F0D875?

#F0D875 in RGB is (240, 216, 117) - 240 red, 216 green, and 117 blue.

How to use #F0D875 in CSS?

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

What colors go well with #F0D875?

#758EF0 (complementary), #F09A75 (analogous), and #E8C330 (lighter shade) work well with #F0D875.