What is hex #FEFFA2 color?

 
The hex code #FEFFA2 is closest to the named color Canary (#FFFF99).
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, 100% green and 64% blue, resulting in rgb(254, 255, 162) and hsl(61, 100%, 82%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 0%, 36%, 0%).
In the HSV/HSB scale, #FEFFA2 features a hue of 61°, 36% saturation, and 100% brightness.

Hex #FEFFA2 Color Codes & Conversions

Closest Named Color
Canary (#FFFF99)
Hex Code #FEFFA2
Hex8 (RGBA Hex) #FEFFA2FF
RGB (CSS) rgb(254, 255, 162)
RGBA (CSS) rgba(254, 255, 162, 1)
HSL (CSS) hsl(61, 100%, 82%)
HSLA (CSS) hsla(61, 100%, 82%, 1)
HSV / HSB (61°, 36%, 100%)
CMYK Values (0%, 0%, 36%, 0%)
OKLCH (Modern CSS) oklch(97.9% 0.115 108.9)
CIE-LAB (D65) 98.11, -13.66, 44.35
CIE XYZ 83.16, 95.20, 48.17
Decimal / Binary 16711586
11111110 11111111 10100010

Closest Standards & Equivalents

Closest Web Safe
#FFFF99 [Canary]
Inverse Color
#01005D
Complementary Color
#A3A2FF
Closest Pantone®
Pantone Yellow 0131 C
Closest RAL
RAL 9012 [Clean room white]

#FEFFA2 Grayscale Equivalents

Average
#E0E0E0
Lightness (Desaturation)
#D1D1D1
Weighted (BT601)
#F4F4F4
Luma (BT709)
#F8F8F8

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FEFFA2.

Contrast Ratio: 1.05:1
AA Fail AAA Fail

Black Text on #FEFFA2

Sample preview of readable typography on top of #FEFFA2.

Contrast Ratio: 20.04:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FEFFA2

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

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

Hex #FEFFA2 Color Palettes

Complementary Palette

The complementary color of #FEFFA2 is #A3A2FF. 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 #FEFFA2 pairs with #FFD1A2 and #CFFFA2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FEFFA2 uses #FFA2FE and #A2FEFF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FEFFA2 combines #A2FEFF, #A3A2FF and #FFA3A2 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FEFFA2 pairs with #A2FFD1, #A3A2FF and #FFA2CF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FEFFA2

Tints

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

Tones

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

Shades

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

Hex #FEFFA2 in Programming & CSS Frameworks

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

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