#FFEF5C Color Information

Hex color code: #FFEF5C

The hex color #FFEF5C is a eye-catching yellow with RGB values of (255, 239, 92) and HSL of (54°, 100%, 68%). It is widely used in graphic design.

Try:
Color NameKhaki
HEX
#FFEF5C
RGB
255, 239, 92
HSL
54°, 100%, 68%
CMYK
0%, 6%, 64%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #FFEF5C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

255, 239, 92

Red: 255 / Green: 239 / Blue: 92

HSL

54°, 100%, 68%

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

CMYK

0%, 6%, 64%, 0%

Cyan: 0% / Magenta: 6% / Yellow: 64% / Key: 0%

What color is #FFEF5C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #FFEF5C to RGB:

rgb(255, 239, 92)HEX to RGB Converter →

HEX to HSL

Convert #FFEF5C to HSL:

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

HEX to CMYK

Convert #FFEF5C to CMYK:

cmyk(0%, 6%, 64%, 0%)Color Converter →

Color Meaning and Usage

A eye-catching yellow tone, #FFEF5C has RGB (255, 239, 92) and HSL (54°, 100%, 68%). Known for evoking energy and excitement, this highly saturated hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #FFEF5C is #5C6CFF, creating high-contrast pairings. For softer combinations, try analogous colors like #FF9D5C.

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

Contrast with #FFEF5C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #FFEF5C?

#FFEF5C is a eye-catching yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #FFEF5C?

#FFEF5C in RGB is (255, 239, 92) - 255 red, 239 green, and 92 blue.

How to use #FFEF5C in CSS?

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

What colors go well with #FFEF5C?

#5C6CFF (complementary), #FF9D5C (analogous), and #FFE70F (lighter shade) work well with #FFEF5C.