Cosmic Latte (#FFF8E7)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #000000
Contrast vs white: 1.06:1 — vs black: 19.83:1

Color values

  • HEX #FFF8E7
  • RGB rgb(255, 248, 231)
  • HSL hsl(42, 100%, 95%)
  • CMYK cmyk( 0, 3, 9, 0 )
  • Websafe #FFFFFF

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #FFF8E7 based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Cosmic Latte
#FFF8E7 Base
#E7EEFF
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Cosmic Latte
#FFF8E7 Base
#FFECE7
#FAFFE7
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Cosmic Latte
#FFF8E7 Base
#E7FFF8
#F8E7FF
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Cosmic Latte
#FFF8E7 Base
#E7FAFF
#ECE7FF
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Cosmic Latte
#FFF8E7 Base
#E7FFEC
#E7EEFF
#FFE7FA
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Cosmic Latte
#FFF8E7 Base
#FFCB4E
#FFE29A
#FFECBE
#FFF8E6
Shades & Tints

Darker shades and lighter tints of Cosmic Latte, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#1A1200
#765300
#D29500
#FFC22F
#FFDD8B
Cosmic Latte #FFF8E7 Base
#FFF8E6
#FFF8E6
#FFF8E6
#FFF8E6
#FFF8E6
CSS & SCSS Snippets

Ready-to-use code snippets for #FFF8E7. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #FFF8E7;
}

/* Text */
.element {
    color: #FFF8E7;
}

/* Border */
.element {
    border: 1px solid #FFF8E7;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #FFF8E7,
        #E7EEFF
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #FFF8E7,
        #E7EEFF
    );
}
SCSS Variable
// SCSS variable
$cosmic-latte: #FFF8E7;

// With RGB channels (useful for rgba() usage)
$cosmic-latte-r: 255;
$cosmic-latte-g: 248;
$cosmic-latte-b: 231;

// Usage
.element {
    background-color: $cosmic-latte;
    color: rgba($cosmic-latte-r, $cosmic-latte-g, $cosmic-latte-b, 0.8);
}
Color Blindness Simulation

How Cosmic Latte appears to people with different types of color vision deficiency.

Normal Vision #FFF8E7 How the color appears with full color vision.
Deuteranopia #FAFAE7 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #F9F9E7 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #FFF6F6 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #F8F8F8 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Cosmic Latte ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Cosmic Latte #FFF8E7 Base
Old Lace #FDF5E6 ΔE 1.21
Floral White #FFFAF0 ΔE 2.82
Eggshell #F0EAD6 ΔE 3.33
Ivory #FFFFF0 ΔE 3.38

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.