What is hex #FFDF7B 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, 87% green and 48% blue, resulting in rgb(255, 223, 123) and hsl(45, 100%, 74%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 13%, 52%, 0%).
In the HSV/HSB scale, #FFDF7B features a hue of 45°, 52% saturation, and 100% brightness.
Hex #FFDF7B Color Codes & Conversions
| Closest Named Color | Buff (#F0DC82) |
| Hex Code | #FFDF7B |
| Hex8 (RGBA Hex) | #FFDF7BFF |
| RGB (CSS) | rgb(255, 223, 123) |
| RGBA (CSS) | rgba(255, 223, 123, 1) |
| HSL (CSS) | hsl(45, 100%, 74%) |
| HSLA (CSS) | hsla(45, 100%, 74%, 1) |
| HSV / HSB | (45°, 52%, 100%) |
| CMYK Values | (0%, 13%, 52%, 0%) |
| OKLCH (Modern CSS) | oklch(91.0% 0.125 92.1) |
| CIE-LAB (D65) | 89.61, -1.11, 52.60 |
| CIE XYZ | 71.21, 75.47, 29.55 |
| Decimal / Binary |
16768891
11111111 11011111 01111011 |
Closest Standards & Equivalents
| Closest Web Safe | #FFCC66 |
| Inverse Color | #002084 |
| Complementary Color | #7B9BFF |
| Closest Pantone® | Pantone 1215 C |
| Closest RAL | RAL 1016 [Sulfur yellow] |
#FFDF7B Grayscale Equivalents
| Average | #C8C8C8 |
| Lightness (Desaturation) | #BDBDBD |
| Weighted (BT601) | #DDDDDD |
| Luma (BT709) | #DFDFDF |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFDF7B 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 #FFDF7B
Sample preview of readable typography on top of #FFDF7B.
Black Text on #FFDF7B
Sample preview of readable typography on top of #FFDF7B.
HTML / CSS Live Previews & Snippets for #FFDF7B
Preview #FFDF7B in real UI elements and copy ready-to-use CSS rules.
background-color: #FFDF7B;
color: #FFDF7B;
border: 2px solid #FFDF7B;
:root {
--color-primary: #FFDF7B;
--color-primary-rgb: 255, 223, 123;
--color-complementary: #7B9BFF;
}
.btn-accent {
background-color: #FFDF7B;
color: #000000;
}
Hex #FFDF7B Color Palettes
Complementary Palette
The complementary color of #FFDF7B is #7B9BFF. 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 #FFDF7B pairs with #FF9D7B and #DDFF7B, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFDF7B pairs with #9D7BFF and #7BDDFF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFDF7B uses #DF7BFF and #7BFFDF, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFDF7B combines #7BFFDF, #7B9BFF and #FF7B9B around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFDF7B pairs with #7BFF9D, #7B9BFF and #FF7BDD spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFDF7B
Tints
Tints are created by mixing #FFDF7B with white, producing lighter variations.
Tones
Tones are created by mixing #FFDF7B with gray, softening saturation.
Shades
Shades result from mixing #FFDF7B with black, creating deeper variations.
Hex #FFDF7B in Programming & CSS Frameworks
Copy the exact syntax for #FFDF7B in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFDF7B |
| Tailwind CSS | bg-[#FFDF7B] text-[#FFDF7B] |
| Java (AWT) | new Color(255,223,123); |
| Python | Color("#FFDF7B") |
| .NET (C#) | Color.FromArgb(255, 255,223,123); |
| Swift / iOS | UIColor(red: 1, green: 0.87, blue: 0.48, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 223, 123) |