#F5DC00 Color Information

Hex color code: #F5DC00

A eye-catching yellow shade, #F5DC00 appears as (245, 220, 0) in RGB and (54°, 100%, 48%) in HSL. It is widely used in graphic design.

Try:
Color NameGold
HEX
#F5DC00
RGB
245, 220, 0
HSL
54°, 100%, 48%
CMYK
0%, 10%, 100%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F5DC00; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

245, 220, 0

Red: 245 / Green: 220 / Blue: 0

HSL

54°, 100%, 48%

Hue: 54° / Saturation: 100% / Lightness: 48%

CMYK

0%, 10%, 100%, 4%

Cyan: 0% / Magenta: 10% / Yellow: 100% / Key: 4%

What color is #F5DC00?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F5DC00 to RGB:

rgb(245, 220, 0)HEX to RGB Converter →

HEX to HSL

Convert #F5DC00 to HSL:

hsl(54, 100%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #F5DC00 to CMYK:

cmyk(0%, 10%, 100%, 4%)Color Converter →

Color Meaning and Usage

A dynamic yellow tone, #F5DC00 has RGB (245, 220, 0) and HSL (54°, 100%, 48%). Known for evoking energy and excitement, this highly saturated hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F5DC00 is #0018F5, creating high-contrast pairings. For softer combinations, try analogous colors like #F56200.

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

Contrast with #F5DC00

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F5DC00?

#F5DC00 is a dynamic yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F5DC00?

#F5DC00 in RGB is (245, 220, 0) - 245 red, 220 green, and 0 blue.

How to use #F5DC00 in CSS?

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

What colors go well with #F5DC00?

#0018F5 (complementary), #F56200 (analogous), and #A89700 (lighter shade) work well with #F5DC00.