#F5F787 Color Information

Hex color code: #F5F787

A eye-catching yellow shade, #F5F787 appears as (245, 247, 135) in RGB and (61°, 88%, 75%) in HSL. It is widely used in graphic design.

Try:
Color NameKhaki
HEX
#F5F787
RGB
245, 247, 135
HSL
61°, 88%, 75%
CMYK
1%, 0%, 45%, 3%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F5F787; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

245, 247, 135

Red: 245 / Green: 247 / Blue: 135

HSL

61°, 88%, 75%

Hue: 61° / Saturation: 88% / Lightness: 75%

CMYK

1%, 0%, 45%, 3%

Cyan: 1% / Magenta: 0% / Yellow: 45% / Key: 3%

What color is #F5F787?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F5F787 to RGB:

rgb(245, 247, 135)HEX to RGB Converter →

HEX to HSL

Convert #F5F787 to HSL:

hsl(61, 88%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #F5F787 to CMYK:

cmyk(1%, 0%, 45%, 3%)Color Converter →

Color Meaning and Usage

A bold yellow tone, #F5F787 has RGB (245, 247, 135) and HSL (61°, 88%, 75%). Known for evoking energy and excitement, this highly saturated hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F5F787 is #8987F7, creating high-contrast pairings. For softer combinations, try analogous colors like #F7C187.

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

Contrast with #F5F787

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F5F787?

#F5F787 is a bold yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F5F787?

#F5F787 in RGB is (245, 247, 135) - 245 red, 247 green, and 135 blue.

How to use #F5F787 in CSS?

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

What colors go well with #F5F787?

#8987F7 (complementary), #F7C187 (analogous), and #F0F33F (lighter shade) work well with #F5F787.