#FFEC42 Color Information

Hex color code: #FFEC42

A eye-catching yellow shade, #FFEC42 appears as (255, 236, 66) in RGB and (54°, 100%, 63%) in HSL. It is widely used in graphic design.

Try:
Color NameYellow
HEX
#FFEC42
RGB
255, 236, 66
HSL
54°, 100%, 63%
CMYK
0%, 7%, 74%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #FFEC42; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

255, 236, 66

Red: 255 / Green: 236 / Blue: 66

HSL

54°, 100%, 63%

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

CMYK

0%, 7%, 74%, 0%

Cyan: 0% / Magenta: 7% / Yellow: 74% / Key: 0%

What color is #FFEC42?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #FFEC42 to RGB:

rgb(255, 236, 66)HEX to RGB Converter →

HEX to HSL

Convert #FFEC42 to HSL:

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

HEX to CMYK

Convert #FFEC42 to CMYK:

cmyk(0%, 7%, 74%, 0%)Color Converter →

Color Meaning and Usage

A eye-catching yellow tone, #FFEC42 has RGB (255, 236, 66) and HSL (54°, 100%, 63%). 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 #FFEC42 is #4255FF, creating high-contrast pairings. For softer combinations, try analogous colors like #FF8E42.

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

Contrast with #FFEC42

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #FFEC42?

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

What is the RGB value of #FFEC42?

#FFEC42 in RGB is (255, 236, 66) - 255 red, 236 green, and 66 blue.

How to use #FFEC42 in CSS?

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

What colors go well with #FFEC42?

#4255FF (complementary), #FF8E42 (analogous), and #F5DC00 (lighter shade) work well with #FFEC42.