What is hex #FFE7AE color?

 
The hex code #FFE7AE is closest to the named color Moccasin (#FFE4B5).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 100% red, 91% green and 68% blue, resulting in rgb(255, 231, 174) and hsl(42, 100%, 84%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 9%, 32%, 0%).
In the HSV/HSB scale, #FFE7AE features a hue of 42°, 32% saturation, and 100% brightness.

Hex #FFE7AE Color Codes & Conversions

Closest Named Color
Moccasin (#FFE4B5)
Hex Code #FFE7AE
Hex8 (RGBA Hex) #FFE7AEFF
RGB (CSS) rgb(255, 231, 174)
RGBA (CSS) rgba(255, 231, 174, 1)
HSL (CSS) hsl(42, 100%, 84%)
HSLA (CSS) hsla(42, 100%, 84%, 1)
HSV / HSB (42°, 32%, 100%)
CMYK Values (0%, 9%, 32%, 0%)
OKLCH (Modern CSS) oklch(93.4% 0.077 87.8)
CIE-LAB (D65) 92.34, 0.04, 30.78
CIE XYZ 77.46, 81.47, 51.68
Decimal / Binary 16770990
11111111 11100111 10101110

Closest Standards & Equivalents

Closest Web Safe
#FFFF99 [Canary]
Inverse Color
#001851
Complementary Color
#AEC6FF
Closest Pantone®
Pantone 7499 C
Closest RAL
RAL 1015 [Light ivory]

#FFE7AE Grayscale Equivalents

Average
#DCDCDC [Gainsboro]
Lightness (Desaturation)
#D7D7D7
Weighted (BT601)
#E8E8E8
Luma (BT709)
#E8E8E8

WCAG 2.1 Color Contrast & Accessibility

Check how #FFE7AE complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #FFE7AE

Sample preview of readable typography on top of #FFE7AE.

Contrast Ratio: 1.21:1
AA Fail AAA Fail

Black Text on #FFE7AE

Sample preview of readable typography on top of #FFE7AE.

Contrast Ratio: 17.29:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFE7AE

Preview #FFE7AE in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #FFE7AE;
Typography Color Preview
color: #FFE7AE;
Border & Shadow Preview
border: 2px solid #FFE7AE;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFE7AE;
  --color-primary-rgb: 255, 231, 174;
  --color-complementary: #AEC6FF;
}
.btn-accent {
  background-color: #FFE7AE;
  color: #000000;
}

Hex #FFE7AE Color Palettes

Complementary Palette

The complementary color of #FFE7AE is #AEC6FF. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #FFE7AE pairs with #FFBEAE and #EEFFAE, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFE7AE pairs with #BEAEFF and #AEEEFF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFE7AE uses #E7AEFF and #AEFFE7, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFE7AE combines #AEFFE7, #AEC6FF and #FFAEC6 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFE7AE pairs with #AEFFBE, #AEC6FF and #FFAEEE spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFE7AE

Tints

Tints are created by mixing #FFE7AE with white, producing lighter variations.

Tones

Tones are created by mixing #FFE7AE with gray, softening saturation.

Shades

Shades result from mixing #FFE7AE with black, creating deeper variations.

Hex #FFE7AE in Programming & CSS Frameworks

Copy the exact syntax for #FFE7AE in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #FFE7AE
Tailwind CSS bg-[#FFE7AE] text-[#FFE7AE]
Java (AWT) new Color(255,231,174);
Python Color("#FFE7AE")
.NET (C#) Color.FromArgb(255, 255,231,174);
Swift / iOS UIColor(red: 1, green: 0.91, blue: 0.68, alpha: 1)
Kotlin / Android Color.rgb(255, 231, 174)