#FFFF31 Color Information

Hex color code: #FFFF31

#FFFF31 is a vivid yellow color. In RGB it is (255, 255, 49), and in HSL it is (60°, 100%, 60%). It is frequently seen in web interfaces.

Try:
Color NameYellow
HEX
#FFFF31
RGB
255, 255, 49
HSL
60°, 100%, 60%
CMYK
0%, 0%, 81%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #FFFF31; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

255, 255, 49

Red: 255 / Green: 255 / Blue: 49

HSL

60°, 100%, 60%

Hue: 60° / Saturation: 100% / Lightness: 60%

CMYK

0%, 0%, 81%, 0%

Cyan: 0% / Magenta: 0% / Yellow: 81% / Key: 0%

What color is #FFFF31?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #FFFF31 to RGB:

rgb(255, 255, 49)HEX to RGB Converter →

HEX to HSL

Convert #FFFF31 to HSL:

hsl(60, 100%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #FFFF31 to CMYK:

cmyk(0%, 0%, 81%, 0%)Color Converter →

Color Meaning and Usage

A eye-catching yellow tone, #FFFF31 has RGB (255, 255, 49) and HSL (60°, 100%, 60%). Known for evoking energy and excitement, this highly saturated hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #FFFF31 is #3333FF, creating high-contrast pairings. For softer combinations, try analogous colors like #FF9933.

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

Contrast with #FFFF31

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #FFFF31?

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

What is the RGB value of #FFFF31?

#FFFF31 in RGB is (255, 255, 49) - 255 red, 255 green, and 49 blue.

How to use #FFFF31 in CSS?

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

What colors go well with #FFFF31?

#3333FF (complementary), #FF9933 (analogous), and #E6E600 (lighter shade) work well with #FFFF31.