What is hex #FFE4AF color?

 
The hex code #FFE4AF 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, 89% green and 69% blue, resulting in rgb(255, 228, 175) and hsl(40, 100%, 84%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 11%, 31%, 0%).
In the HSV/HSB scale, #FFE4AF features a hue of 40°, 31% saturation, and 100% brightness.

Hex #FFE4AF Color Codes & Conversions

Closest Named Color
Moccasin (#FFE4B5)
Hex Code #FFE4AF
Hex8 (RGBA Hex) #FFE4AFFF
RGB (CSS) rgb(255, 228, 175)
RGBA (CSS) rgba(255, 228, 175, 1)
HSL (CSS) hsl(40, 100%, 84%)
HSLA (CSS) hsla(40, 100%, 84%, 1)
HSV / HSB (40°, 31%, 100%)
CMYK Values (0%, 11%, 31%, 0%)
OKLCH (Modern CSS) oklch(92.8% 0.074 84.0)
CIE-LAB (D65) 91.62, 1.69, 29.29
CIE XYZ 76.72, 79.84, 51.92
Decimal / Binary 16770223
11111111 11100100 10101111

Closest Standards & Equivalents

Closest Web Safe
#FFCC99
Inverse Color
#001B50
Complementary Color
#AFCAFF
Closest Pantone®
Pantone 7499 C
Closest RAL
RAL 1015 [Light ivory]

#FFE4AF Grayscale Equivalents

Average
#DBDBDB
Lightness (Desaturation)
#D7D7D7
Weighted (BT601)
#E6E6E6
Luma (BT709)
#E6E6E6

WCAG 2.1 Color Contrast & Accessibility

Check how #FFE4AF 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 #FFE4AF

Sample preview of readable typography on top of #FFE4AF.

Contrast Ratio: 1.24:1
AA Fail AAA Fail

Black Text on #FFE4AF

Sample preview of readable typography on top of #FFE4AF.

Contrast Ratio: 16.97:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFE4AF

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

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

Hex #FFE4AF Color Palettes

Complementary Palette

The complementary color of #FFE4AF is #AFCAFF. 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 #FFE4AF pairs with #FFBCAF and #F2FFAF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FFE4AF uses #E4AFFF and #AFFFE4, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFE4AF combines #AFFFE4, #AFCAFF and #FFAFCA around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFE4AF pairs with #AFFFBC, #AFCAFF and #FFAFF2 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFE4AF

Tints

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

Tones

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

Shades

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

Hex #FFE4AF in Programming & CSS Frameworks

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

HTML / CSS #FFE4AF
Tailwind CSS bg-[#FFE4AF] text-[#FFE4AF]
Java (AWT) new Color(255,228,175);
Python Color("#FFE4AF")
.NET (C#) Color.FromArgb(255, 255,228,175);
Swift / iOS UIColor(red: 1, green: 0.89, blue: 0.69, alpha: 1)
Kotlin / Android Color.rgb(255, 228, 175)