What is hex #FFEC72 color?

 
The hex code #FFEC72 is closest to the named color Corn (#FBEC5D).
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, 93% green and 45% blue, resulting in rgb(255, 236, 114) and hsl(52, 100%, 72%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 7%, 55%, 0%).
In the HSV/HSB scale, #FFEC72 features a hue of 52°, 55% saturation, and 100% brightness.

Hex #FFEC72 Color Codes & Conversions

Closest Named Color
Corn (#FBEC5D)
Hex Code #FFEC72
Hex8 (RGBA Hex) #FFEC72FF
RGB (CSS) rgb(255, 236, 114)
RGBA (CSS) rgba(255, 236, 114, 1)
HSL (CSS) hsl(52, 100%, 72%)
HSLA (CSS) hsla(52, 100%, 72%, 1)
HSV / HSB (52°, 55%, 100%)
CMYK Values (0%, 7%, 55%, 0%)
OKLCH (Modern CSS) oklch(93.5% 0.143 100.6)
CIE-LAB (D65) 92.78, -8.34, 60.49
CIE XYZ 74.28, 82.47, 27.92
Decimal / Binary 16772210
11111111 11101100 01110010

Closest Standards & Equivalents

Closest Web Safe
#FFFF66
Inverse Color
#00138D
Complementary Color
#7285FF
Closest Pantone®
Pantone 393 C
Closest RAL
RAL 1016 [Sulfur yellow]

#FFEC72 Grayscale Equivalents

Average
#CACACA
Lightness (Desaturation)
#B9B9B9
Weighted (BT601)
#E4E4E4
Luma (BT709)
#E7E7E7

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFEC72.

Contrast Ratio: 1.2:1
AA Fail AAA Fail

Black Text on #FFEC72

Sample preview of readable typography on top of #FFEC72.

Contrast Ratio: 17.49:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFEC72

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

Background Preview
background-color: #FFEC72;
Typography Color Preview
color: #FFEC72;
Border & Shadow Preview
border: 2px solid #FFEC72;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFEC72;
  --color-primary-rgb: 255, 236, 114;
  --color-complementary: #7285FF;
}
.btn-accent {
  background-color: #FFEC72;
  color: #000000;
}

Hex #FFEC72 Color Palettes

Complementary Palette

The complementary color of #FFEC72 is #7285FF. 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 #FFEC72 pairs with #FFA572 and #CBFF72, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFEC72 pairs with #A572FF and #72CBFF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFEC72 uses #EC72FF and #72FFEC, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFEC72 combines #72FFEC, #7285FF and #FF7285 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFEC72 pairs with #72FFA5, #7285FF and #FF72CB spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFEC72

Tints

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

Tones

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

Shades

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

Hex #FFEC72 in Programming & CSS Frameworks

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

HTML / CSS #FFEC72
Tailwind CSS bg-[#FFEC72] text-[#FFEC72]
Java (AWT) new Color(255,236,114);
Python Color("#FFEC72")
.NET (C#) Color.FromArgb(255, 255,236,114);
Swift / iOS UIColor(red: 1, green: 0.93, blue: 0.45, alpha: 1)
Kotlin / Android Color.rgb(255, 236, 114)