#F0DB42 Color Information

Hex color code: #F0DB42

#F0DB42 is a dynamic yellow color. In RGB it is (240, 219, 66), and in HSL it is (53°, 85%, 60%). It is typically applied in digital products.

Try:
Color NameSandy Brown
HEX
#F0DB42
RGB
240, 219, 66
HSL
53°, 85%, 60%
CMYK
0%, 9%, 73%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F0DB42; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 219, 66

Red: 240 / Green: 219 / Blue: 66

HSL

53°, 85%, 60%

Hue: 53° / Saturation: 85% / Lightness: 60%

CMYK

0%, 9%, 73%, 6%

Cyan: 0% / Magenta: 9% / Yellow: 73% / Key: 6%

What color is #F0DB42?

#F0DB42 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F0DB42 to RGB:

rgb(240, 219, 66)HEX to RGB Converter →

HEX to HSL

Convert #F0DB42 to HSL:

hsl(53, 85%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #F0DB42 to CMYK:

cmyk(0%, 9%, 73%, 6%)Color Converter →

Color Meaning and Usage

A striking yellow tone, #F0DB42 has RGB (240, 219, 66) and HSL (53°, 85%, 60%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F0DB42 is #4257F0, creating high-contrast pairings. For softer combinations, try analogous colors like #F08542.

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

Contrast with #F0DB42

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F0DB42?

#F0DB42 is a striking yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F0DB42?

#F0DB42 in RGB is (240, 219, 66) - 240 red, 219 green, and 66 blue.

How to use #F0DB42 in CSS?

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

What colors go well with #F0DB42?

#4257F0 (complementary), #F08542 (analogous), and #D4BE11 (lighter shade) work well with #F0DB42.