What is hex #FFCD40 color?

 
The hex code #FFCD40 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, 80% green and 25% blue, resulting in rgb(255, 205, 64) and hsl(44, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 20%, 75%, 0%).
In the HSV/HSB scale, #FFCD40 features a hue of 44°, 75% saturation, and 100% brightness.

Hex #FFCD40 Color Codes & Conversions

Closest Named Color
Banana Yellow (#FFE135)
Hex Code #FFCD40
Hex8 (RGBA Hex) #FFCD40FF
RGB (CSS) rgb(255, 205, 64)
RGBA (CSS) rgba(255, 205, 64, 1)
HSL (CSS) hsl(44, 100%, 63%)
HSLA (CSS) hsla(44, 100%, 63%, 1)
HSV / HSB (44°, 75%, 100%)
CMYK Values (0%, 20%, 75%, 0%)
OKLCH (Modern CSS) oklch(86.9% 0.159 88.2)
CIE-LAB (D65) 84.64, 4.47, 72.37
CIE XYZ 64.00, 65.30, 14.08
Decimal / Binary 16764224
11111111 11001101 01000000

Closest Standards & Equivalents

Closest Web Safe
#FFCC33
Inverse Color
#0032BF
Complementary Color
#4072FF
Closest Pantone®
Pantone 122 C
Closest RAL
RAL 1018 [Zinc yellow]

#FFCD40 Grayscale Equivalents

Average
#AFAFAF
Lightness (Desaturation)
#A0A0A0
Weighted (BT601)
#CCCCCC
Luma (BT709)
#CDCDCD

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFCD40.

Contrast Ratio: 1.49:1
AA Fail AAA Fail

Black Text on #FFCD40

Sample preview of readable typography on top of #FFCD40.

Contrast Ratio: 14.06:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFCD40

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

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

Hex #FFCD40 Color Palettes

Complementary Palette

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

Split-Complementary Palette

The split-complementary scheme of #FFCD40 pairs with #6D40FF and #40D1FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFCD40 uses #CD40FF and #40FFCD, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFCD40 combines #40FFCD, #4072FF and #FF4072 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFCD40 pairs with #40FF6D, #4072FF and #FF40D1 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFCD40

Tints

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

Tones

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

Shades

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

Hex #FFCD40 in Programming & CSS Frameworks

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

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