What is hex #FFCF2F color?

 
The hex code #FFCF2F is closest to the named color Banana Yellow (#FFE135).
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, 81% green and 18% blue, resulting in rgb(255, 207, 47) and hsl(46, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 19%, 82%, 0%).
In the HSV/HSB scale, #FFCF2F features a hue of 46°, 82% saturation, and 100% brightness.

Hex #FFCF2F Color Codes & Conversions

Closest Named Color
Banana Yellow (#FFE135)
Hex Code #FFCF2F
Hex8 (RGBA Hex) #FFCF2FFF
RGB (CSS) rgb(255, 207, 47)
RGBA (CSS) rgba(255, 207, 47, 1)
HSL (CSS) hsl(46, 100%, 59%)
HSLA (CSS) hsla(46, 100%, 59%, 1)
HSV / HSB (46°, 82%, 100%)
CMYK Values (0%, 19%, 82%, 0%)
OKLCH (Modern CSS) oklch(87.2% 0.168 90.4)
CIE-LAB (D65) 85.04, 2.87, 78.14
CIE XYZ 64.07, 66.10, 12.07
Decimal / Binary 16764719
11111111 11001111 00101111

Closest Standards & Equivalents

Closest Web Safe
#FFCC33
Inverse Color
#0030D0
Complementary Color
#2F5FFF
Closest Pantone®
Pantone 123 C
Closest RAL
RAL 1018 [Zinc yellow]

#FFCF2F Grayscale Equivalents

Average
#AAAAAA
Lightness (Desaturation)
#979797
Weighted (BT601)
#CBCBCB
Luma (BT709)
#CECECE

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFCF2F.

Contrast Ratio: 1.48:1
AA Fail AAA Fail

Black Text on #FFCF2F

Sample preview of readable typography on top of #FFCF2F.

Contrast Ratio: 14.22:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFCF2F

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

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

Hex #FFCF2F Color Palettes

Complementary Palette

The complementary color of #FFCF2F is #2F5FFF. 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 #FFCF2F pairs with #FF672F and #C7FF2F, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFCF2F pairs with #672FFF and #2FC7FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFCF2F uses #CF2FFF and #2FFFCF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFCF2F combines #2FFFCF, #2F5FFF and #FF2F5F around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFCF2F pairs with #2FFF67, #2F5FFF and #FF2FC7 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFCF2F

Tints

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

Tones

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

Shades

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

Hex #FFCF2F in Programming & CSS Frameworks

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

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