#F2FF7E Color Information

Hex color code: #F2FF7E

The hex color #F2FF7E is a vivid yellow with RGB values of (242, 255, 126) and HSL of (66°, 100%, 75%). It is commonly used in modern UI design.

Try:
Color NameKhaki
HEX
#F2FF7E
RGB
242, 255, 126
HSL
66°, 100%, 75%
CMYK
5%, 0%, 51%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2FF7E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 255, 126

Red: 242 / Green: 255 / Blue: 126

HSL

66°, 100%, 75%

Hue: 66° / Saturation: 100% / Lightness: 75%

CMYK

5%, 0%, 51%, 0%

Cyan: 5% / Magenta: 0% / Yellow: 51% / Key: 0%

What color is #F2FF7E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2FF7E to RGB:

rgb(242, 255, 126)HEX to RGB Converter →

HEX to HSL

Convert #F2FF7E to HSL:

hsl(66, 100%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #F2FF7E to CMYK:

cmyk(5%, 0%, 51%, 0%)Color Converter →

Color Meaning and Usage

#F2FF7E is a dynamic yellow color with RGB values of 242, 255, 126 and HSL of 66°, 100%, 75%. This highly saturated hue evokes energy and excitement, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2FF7E is #8C80FF, creating high-contrast pairings. For softer combinations, try analogous colors like #FFCC80.

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

Contrast with #F2FF7E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2FF7E?

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

What is the RGB value of #F2FF7E?

#F2FF7E in RGB is (242, 255, 126) - 242 red, 255 green, and 126 blue.

How to use #F2FF7E in CSS?

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

What colors go well with #F2FF7E?

#8C80FF (complementary), #FFCC80 (analogous), and #EBFF33 (lighter shade) work well with #F2FF7E.