What is hex #FFEF06 color?

 
The hex code #FFEF06 is closest to the named color Canary Yellow (#FFEF00).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 100% red, 94% green and 2% blue, resulting in rgb(255, 239, 6) and hsl(56, 100%, 51%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 6%, 98%, 0%).
In the HSV/HSB scale, #FFEF06 features a hue of 56°, 98% saturation, and 100% brightness.

Hex #FFEF06 Color Codes & Conversions

Closest Named Color
Canary Yellow (#FFEF00)
Hex Code #FFEF06
Hex8 (RGBA Hex) #FFEF06FF
RGB (CSS) rgb(255, 239, 6)
RGBA (CSS) rgba(255, 239, 6, 1)
HSL (CSS) hsl(56, 100%, 51%)
HSLA (CSS) hsla(56, 100%, 51%, 1)
HSV / HSB (56°, 98%, 100%)
CMYK Values (0%, 6%, 98%, 0%)
OKLCH (Modern CSS) oklch(93.5% 0.197 104.6)
CIE-LAB (D65) 93.02, -13.81, 91.03
CIE XYZ 72.14, 83.01, 12.39
Decimal / Binary 16772870
11111111 11101111 00000110

Closest Standards & Equivalents

Closest Web Safe
#FFFF00 [Yellow]
Inverse Color
#0010F9
Complementary Color
#0616FF
Closest Pantone®
Pantone 803 C
Closest RAL
RAL 1026 [Luminous yellow]

#FFEF06 Grayscale Equivalents

Average
#A7A7A7
Lightness (Desaturation)
#838383
Weighted (BT601)
#D9D9D9
Luma (BT709)
#E2E2E2

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFEF06.

Contrast Ratio: 1.19:1
AA Fail AAA Fail

Black Text on #FFEF06

Sample preview of readable typography on top of #FFEF06.

Contrast Ratio: 17.6:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFEF06

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

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

Hex #FFEF06 Color Palettes

Complementary Palette

The complementary color of #FFEF06 is #0616FF. 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 #FFEF06 pairs with #FF7206 and #92FF06, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFEF06 pairs with #7206FF and #0692FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFEF06 uses #EF06FF and #06FFEF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFEF06 combines #06FFEF, #0616FF and #FF0616 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFEF06 pairs with #06FF72, #0616FF and #FF0692 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFEF06

Tints

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

Tones

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

Shades

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

Hex #FFEF06 in Programming & CSS Frameworks

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

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