What is hex #FFCF45 color?

 
The hex code #FFCF45 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 27% blue, resulting in rgb(255, 207, 69) and hsl(45, 100%, 64%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 19%, 73%, 0%).
In the HSV/HSB scale, #FFCF45 features a hue of 45°, 73% saturation, and 100% brightness.

Hex #FFCF45 Color Codes & Conversions

Closest Named Color
Banana Yellow (#FFE135)
Hex Code #FFCF45
Hex8 (RGBA Hex) #FFCF45FF
RGB (CSS) rgb(255, 207, 69)
RGBA (CSS) rgba(255, 207, 69, 1)
HSL (CSS) hsl(45, 100%, 64%)
HSLA (CSS) hsla(45, 100%, 64%, 1)
HSV / HSB (45°, 73%, 100%)
CMYK Values (0%, 19%, 73%, 0%)
OKLCH (Modern CSS) oklch(87.3% 0.157 88.9)
CIE-LAB (D65) 85.16, 3.65, 71.06
CIE XYZ 64.63, 66.32, 15.03
Decimal / Binary 16764741
11111111 11001111 01000101

Closest Standards & Equivalents

Closest Web Safe
#FFCC33
Inverse Color
#0030BA
Complementary Color
#4575FF
Closest Pantone®
Pantone 122 C
Closest RAL
RAL 1018 [Zinc yellow]

#FFCF45 Grayscale Equivalents

Average
#B1B1B1
Lightness (Desaturation)
#A2A2A2
Weighted (BT601)
#CECECE
Luma (BT709)
#CFCFCF

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFCF45.

Contrast Ratio: 1.47:1
AA Fail AAA Fail

Black Text on #FFCF45

Sample preview of readable typography on top of #FFCF45.

Contrast Ratio: 14.26:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFCF45

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

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

Hex #FFCF45 Color Palettes

Complementary Palette

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

Split-Complementary Palette

The split-complementary scheme of #FFCF45 pairs with #7245FF and #45D2FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFCF45 uses #CF45FF and #45FFCF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFCF45 combines #45FFCF, #4575FF and #FF4575 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFCF45 pairs with #45FF72, #4575FF and #FF45D2 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFCF45

Tints

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

Tones

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

Shades

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

Hex #FFCF45 in Programming & CSS Frameworks

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

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