#F2E797 Color Information
Hex color code: #F2E797
A airy yellow shade, #F2E797 appears as (242, 231, 151) in RGB and (53°, 78%, 77%) in HSL. It is widely used in graphic design.
Shades
color: #F2E797; background-color: #F2E797; border-color: #F2E797; box-shadow: 0 0 10px #F2E797; border: 2px solid #F2E797;
bg-[#F2E797] text-[#F2E797] border-[#F2E797] shadow-[0_0_10px_F2E797]
Generate Gradient
background: linear-gradient(90deg, #F2E797, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #F2E797 in the color wheel.
RGB, HSL and CMYK Values
RGB
242, 231, 151
Red: 242 / Green: 231 / Blue: 151
HSL
53°, 78%, 77%
Hue: 53° / Saturation: 78% / Lightness: 77%
CMYK
0%, 5%, 38%, 5%
Cyan: 0% / Magenta: 5% / Yellow: 38% / Key: 5%
What color is #F2E797?
#F2E797 is a orange-yellow hue associated with optimism and creativity.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#F2E797 is a light yellow color with RGB values of 242, 231, 151 and HSL of 53°, 78%, 77%. This orange-yellow hue evokes optimism and creativity, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #F2E797 is #97A1F2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2BA97.
Use #F2E797 in CSS: color: #F2E797 or background-color: #F2E797. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #F2E797
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #F2E797?
#F2E797 is a light yellow color - a orange-yellow hue that evokes optimism and creativity.
What is the RGB value of #F2E797?
#F2E797 in RGB is (242, 231, 151) - 242 red, 231 green, and 151 blue.
How to use #F2E797 in CSS?
Use #F2E797 directly in your CSS properties like color or background-color.