What is hex #FFCF2B color?
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 17% blue, resulting in rgb(255, 207, 43) and hsl(46, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 19%, 83%, 0%).
In the HSV/HSB scale, #FFCF2B features a hue of 46°, 83% saturation, and 100% brightness.
Hex #FFCF2B Color Codes & Conversions
| Closest Named Color | Deep Lemon (#F5C71A) |
| Hex Code | #FFCF2B |
| Hex8 (RGBA Hex) | #FFCF2BFF |
| RGB (CSS) | rgb(255, 207, 43) |
| RGBA (CSS) | rgba(255, 207, 43, 1) |
| HSL (CSS) | hsl(46, 100%, 58%) |
| HSLA (CSS) | hsla(46, 100%, 58%, 1) |
| HSV / HSB | (46°, 83%, 100%) |
| CMYK Values | (0%, 19%, 83%, 0%) |
| OKLCH (Modern CSS) | oklch(87.2% 0.169 90.6) |
| CIE-LAB (D65) | 85.03, 2.76, 79.20 |
| CIE XYZ | 63.99, 66.06, 11.67 |
| Decimal / Binary |
16764715
11111111 11001111 00101011 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFCF2B 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 #FFCF2B
Sample preview of readable typography on top of #FFCF2B.
Black Text on #FFCF2B
Sample preview of readable typography on top of #FFCF2B.
HTML / CSS Live Previews & Snippets for #FFCF2B
Preview #FFCF2B in real UI elements and copy ready-to-use CSS rules.
background-color: #FFCF2B;
color: #FFCF2B;
border: 2px solid #FFCF2B;
:root {
--color-primary: #FFCF2B;
--color-primary-rgb: 255, 207, 43;
--color-complementary: #2B5BFF;
}
.btn-accent {
background-color: #FFCF2B;
color: #000000;
}
Hex #FFCF2B Color Palettes
Complementary Palette
The complementary color of #FFCF2B is #2B5BFF. 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 #FFCF2B pairs with #FF652B and #C5FF2B, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFCF2B pairs with #652BFF and #2BC5FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFCF2B uses #CF2BFF and #2BFFCF, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFCF2B combines #2BFFCF, #2B5BFF and #FF2B5B around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFCF2B pairs with #2BFF65, #2B5BFF and #FF2BC5 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFCF2B
Tints
Tints are created by mixing #FFCF2B with white, producing lighter variations.
Tones
Tones are created by mixing #FFCF2B with gray, softening saturation.
Shades
Shades result from mixing #FFCF2B with black, creating deeper variations.
Hex #FFCF2B in Programming & CSS Frameworks
Copy the exact syntax for #FFCF2B in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFCF2B |
| Tailwind CSS | bg-[#FFCF2B] text-[#FFCF2B] |
| Java (AWT) | new Color(255,207,43); |
| Python | Color("#FFCF2B") |
| .NET (C#) | Color.FromArgb(255, 255,207,43); |
| Swift / iOS | UIColor(red: 1, green: 0.81, blue: 0.17, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 207, 43) |