#F0F8AA Color Information
Hex color code: #F0F8AA
The hex color #F0F8AA is a ethereal yellow with RGB values of (240, 248, 170) and HSL of (66°, 85%, 82%). It is typically applied in digital products.
Shades
color: #F0F8AA; background-color: #F0F8AA; border-color: #F0F8AA; box-shadow: 0 0 10px #F0F8AA; border: 2px solid #F0F8AA;
bg-[#F0F8AA] text-[#F0F8AA] border-[#F0F8AA] shadow-[0_0_10px_F0F8AA]
Generate Gradient
background: linear-gradient(90deg, #F0F8AA, #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 #F0F8AA in the color wheel.
RGB, HSL and CMYK Values
RGB
240, 248, 170
Red: 240 / Green: 248 / Blue: 170
HSL
66°, 85%, 82%
Hue: 66° / Saturation: 85% / Lightness: 82%
CMYK
3%, 0%, 31%, 3%
Cyan: 3% / Magenta: 0% / Yellow: 31% / Key: 3%
What color is #F0F8AA?
#F0F8AA is a very light tint associated with purity and simplicity.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A soft yellow tone, #F0F8AA has RGB (240, 248, 170) and HSL (66°, 85%, 82%). Known for evoking purity and simplicity, this very light tint is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #F0F8AA is #B2AAF8, creating high-contrast pairings. For softer combinations, try analogous colors like #F8D9AA.
Use #F0F8AA in CSS: color: #F0F8AA or background-color: #F0F8AA. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #F0F8AA
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 #F0F8AA?
#F0F8AA is a soft yellow color - a very light tint that evokes purity and simplicity.
What is the RGB value of #F0F8AA?
#F0F8AA in RGB is (240, 248, 170) - 240 red, 248 green, and 170 blue.
How to use #F0F8AA in CSS?
Use #F0F8AA directly in your CSS properties like color or background-color.