#F2F7C2 Color Information
Hex color code: #F2F7C2
The hex color #F2F7C2 is a light yellow with RGB values of (242, 247, 194) and HSL of (66°, 77%, 86%). It is commonly used in modern UI design.
Shades
color: #F2F7C2; background-color: #F2F7C2; border-color: #F2F7C2; box-shadow: 0 0 10px #F2F7C2; border: 2px solid #F2F7C2;
bg-[#F2F7C2] text-[#F2F7C2] border-[#F2F7C2] shadow-[0_0_10px_F2F7C2]
Generate Gradient
background: linear-gradient(90deg, #F2F7C2, #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 #F2F7C2 in the color wheel.
RGB, HSL and CMYK Values
RGB
242, 247, 194
Red: 242 / Green: 247 / Blue: 194
HSL
66°, 77%, 86%
Hue: 66° / Saturation: 77% / Lightness: 86%
CMYK
2%, 0%, 21%, 3%
Cyan: 2% / Magenta: 0% / Yellow: 21% / Key: 3%
What color is #F2F7C2?
#F2F7C2 is a very light tint associated with purity and simplicity.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#F2F7C2 is a delicate yellow color with RGB values of 242, 247, 194 and HSL of 66°, 77%, 86%. This very light tint evokes purity and simplicity, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #F2F7C2 is #C5C0F7, creating high-contrast pairings. For softer combinations, try analogous colors like #F7E1C0.
Use #F2F7C2 in CSS: color: #F2F7C2 or background-color: #F2F7C2. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #F2F7C2
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 #F2F7C2?
#F2F7C2 is a delicate yellow color - a very light tint that evokes purity and simplicity.
What is the RGB value of #F2F7C2?
#F2F7C2 in RGB is (242, 247, 194) - 242 red, 247 green, and 194 blue.
How to use #F2F7C2 in CSS?
Use #F2F7C2 directly in your CSS properties like color or background-color.