What is hex #FFD152 color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 100% red, 82% green and 32% blue, resulting in rgb(255, 209, 82) and hsl(44, 100%, 66%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 18%, 68%, 0%).
In the HSV/HSB scale, #FFD152 features a hue of 44°, 68% saturation, and 100% brightness.
Hex #FFD152 Color Codes & Conversions
| Closest Named Color | Arylide Yellow (#E9D66B) |
| Hex Code | #FFD152 |
| Hex8 (RGBA Hex) | #FFD152FF |
| RGB (CSS) | rgb(255, 209, 82) |
| RGBA (CSS) | rgba(255, 209, 82, 1) |
| HSL (CSS) | hsl(44, 100%, 66%) |
| HSLA (CSS) | hsla(44, 100%, 66%, 1) |
| HSV / HSB | (44°, 68%, 100%) |
| CMYK Values | (0%, 18%, 68%, 0%) |
| OKLCH (Modern CSS) | oklch(87.8% 0.150 88.7) |
| CIE-LAB (D65) | 85.74, 3.25, 66.57 |
| CIE XYZ | 65.57, 67.47, 17.55 |
| Decimal / Binary |
16765266
11111111 11010001 01010010 |
Closest Standards & Equivalents
| Closest Web Safe | #FFCC66 |
| Inverse Color | #002EAD |
| Complementary Color | #5280FF |
| Closest Pantone® | Pantone 121 C |
| Closest RAL | RAL 1018 [Zinc yellow] |
#FFD152 Grayscale Equivalents
| Average | #B6B6B6 |
| Lightness (Desaturation) | #A9A9A9 [Dark Medium Gray] |
| Weighted (BT601) | #D0D0D0 |
| Luma (BT709) | #D2D2D2 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFD152 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 #FFD152
Sample preview of readable typography on top of #FFD152.
Black Text on #FFD152
Sample preview of readable typography on top of #FFD152.
HTML / CSS Live Previews & Snippets for #FFD152
Preview #FFD152 in real UI elements and copy ready-to-use CSS rules.
background-color: #FFD152;
color: #FFD152;
border: 2px solid #FFD152;
:root {
--color-primary: #FFD152;
--color-primary-rgb: 255, 209, 82;
--color-complementary: #5280FF;
}
.btn-accent {
background-color: #FFD152;
color: #000000;
}
Hex #FFD152 Color Palettes
Complementary Palette
The complementary color of #FFD152 is #5280FF. 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 #FFD152 pairs with #FF7A52 and #D6FF52, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFD152 pairs with #7A52FF and #52D6FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFD152 uses #D152FF and #52FFD1, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFD152 combines #52FFD1, #5280FF and #FF5280 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFD152 pairs with #52FF7A, #5280FF and #FF52D6 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFD152
Tints
Tints are created by mixing #FFD152 with white, producing lighter variations.
Tones
Tones are created by mixing #FFD152 with gray, softening saturation.
Shades
Shades result from mixing #FFD152 with black, creating deeper variations.
Hex #FFD152 in Programming & CSS Frameworks
Copy the exact syntax for #FFD152 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFD152 |
| Tailwind CSS | bg-[#FFD152] text-[#FFD152] |
| Java (AWT) | new Color(255,209,82); |
| Python | Color("#FFD152") |
| .NET (C#) | Color.FromArgb(255, 255,209,82); |
| Swift / iOS | UIColor(red: 1, green: 0.82, blue: 0.32, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 209, 82) |