What is hex #FFCB2F color?

 
The hex code #FFCB2F is closest to the named color Deep Lemon (#F5C71A).
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 18% blue, resulting in rgb(255, 203, 47) and hsl(45, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 20%, 82%, 0%).
In the HSV/HSB scale, #FFCB2F features a hue of 45°, 82% saturation, and 100% brightness.

Hex #FFCB2F Color Codes & Conversions

Closest Named Color
Deep Lemon (#F5C71A)
Hex Code #FFCB2F
Hex8 (RGBA Hex) #FFCB2FFF
RGB (CSS) rgb(255, 203, 47)
RGBA (CSS) rgba(255, 203, 47, 1)
HSL (CSS) hsl(45, 100%, 59%)
HSLA (CSS) hsla(45, 100%, 59%, 1)
HSV / HSB (45°, 82%, 100%)
CMYK Values (0%, 20%, 82%, 0%)
OKLCH (Modern CSS) oklch(86.4% 0.166 88.4)
CIE-LAB (D65) 84.06, 4.92, 77.29
CIE XYZ 63.11, 64.18, 11.75
Decimal / Binary 16763695
11111111 11001011 00101111

Closest Standards & Equivalents

Closest Web Safe
#FFCC33
Inverse Color
#0034D0
Complementary Color
#2F63FF
Closest Pantone®
Pantone 123 C
Closest RAL
RAL 1018 [Zinc yellow]

#FFCB2F Grayscale Equivalents

Average
#A8A8A8
Lightness (Desaturation)
#979797
Weighted (BT601)
#C9C9C9
Luma (BT709)
#CBCBCB

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFCB2F.

Contrast Ratio: 1.52:1
AA Fail AAA Fail

Black Text on #FFCB2F

Sample preview of readable typography on top of #FFCB2F.

Contrast Ratio: 13.84:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFCB2F

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

Background Preview
background-color: #FFCB2F;
Typography Color Preview
color: #FFCB2F;
Border & Shadow Preview
border: 2px solid #FFCB2F;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFCB2F;
  --color-primary-rgb: 255, 203, 47;
  --color-complementary: #2F63FF;
}
.btn-accent {
  background-color: #FFCB2F;
  color: #000000;
}

Hex #FFCB2F Color Palettes

Complementary Palette

The complementary color of #FFCB2F is #2F63FF. 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 #FFCB2F pairs with #FF632F and #CBFF2F, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFCB2F pairs with #632FFF and #2FCBFF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFCB2F uses #CB2FFF and #2FFFCB, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFCB2F combines #2FFFCB, #2F63FF and #FF2F63 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFCB2F pairs with #2FFF63, #2F63FF and #FF2FCB spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFCB2F

Tints

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

Tones

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

Shades

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

Hex #FFCB2F in Programming & CSS Frameworks

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

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