What is hex #FFDB28 color?

 
The hex code #FFDB28 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, 86% green and 16% blue, resulting in rgb(255, 219, 40) and hsl(50, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 14%, 84%, 0%).
In the HSV/HSB scale, #FFDB28 features a hue of 50°, 84% saturation, and 100% brightness.

Hex #FFDB28 Color Codes & Conversions

Closest Named Color
Banana Yellow (#FFE135)
Hex Code #FFDB28
Hex8 (RGBA Hex) #FFDB28FF
RGB (CSS) rgb(255, 219, 40)
RGBA (CSS) rgba(255, 219, 40, 1)
HSL (CSS) hsl(50, 100%, 58%)
HSLA (CSS) hsla(50, 100%, 58%, 1)
HSV / HSB (50°, 84%, 100%)
CMYK Values (0%, 14%, 84%, 0%)
OKLCH (Modern CSS) oklch(89.6% 0.177 96.3)
CIE-LAB (D65) 88.01, -3.41, 82.40
CIE XYZ 66.96, 72.08, 12.39
Decimal / Binary 16767784
11111111 11011011 00101000

Closest Standards & Equivalents

Closest Web Safe
#FFCC33
Inverse Color
#0024D7
Complementary Color
#284CFF
Closest Pantone®
Pantone 115 C
Closest RAL
RAL 1018 [Zinc yellow]

#FFDB28 Grayscale Equivalents

Average
#ABABAB
Lightness (Desaturation)
#949494
Weighted (BT601)
#D1D1D1
Luma (BT709)
#D6D6D6

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFDB28.

Contrast Ratio: 1.36:1
AA Fail AAA Fail

Black Text on #FFDB28

Sample preview of readable typography on top of #FFDB28.

Contrast Ratio: 15.42:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFDB28

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

Background Preview
background-color: #FFDB28;
Typography Color Preview
color: #FFDB28;
Border & Shadow Preview
border: 2px solid #FFDB28;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFDB28;
  --color-primary-rgb: 255, 219, 40;
  --color-complementary: #284CFF;
}
.btn-accent {
  background-color: #FFDB28;
  color: #000000;
}

Hex #FFDB28 Color Palettes

Complementary Palette

The complementary color of #FFDB28 is #284CFF. 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 #FFDB28 pairs with #FF6F28 and #B7FF28, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFDB28 pairs with #6F28FF and #28B7FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFDB28 uses #DB28FF and #28FFDB, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFDB28 combines #28FFDB, #284CFF and #FF284C around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFDB28 pairs with #28FF6F, #284CFF and #FF28B7 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFDB28

Tints

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

Tones

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

Shades

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

Hex #FFDB28 in Programming & CSS Frameworks

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

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