What is hex #CEC42E color?

 
The hex code #CEC42E is closest to the named color Acid Green (#B0BF1A).
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 81% red, 77% green and 18% blue, resulting in rgb(206, 196, 46) and hsl(56, 63%, 49%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 5%, 78%, 19%).
In the HSV/HSB scale, #CEC42E features a hue of 56°, 78% saturation, and 81% brightness.

Hex #CEC42E Color Codes & Conversions

Closest Named Color
Acid Green (#B0BF1A)
Hex Code #CEC42E
Hex8 (RGBA Hex) #CEC42EFF
RGB (CSS) rgb(206, 196, 46)
RGBA (CSS) rgba(206, 196, 46, 1)
HSL (CSS) hsl(56, 63%, 49%)
HSLA (CSS) hsla(56, 63%, 49%, 1)
HSV / HSB (56°, 78%, 81%)
CMYK Values (0%, 5%, 78%, 19%)
OKLCH (Modern CSS) oklch(80.4% 0.159 105.4)
CIE-LAB (D65) 77.76, -12.45, 70.32
CIE XYZ 45.69, 52.80, 10.37
Decimal / Binary 13550638
11001110 11000100 00101110

Closest Standards & Equivalents

Closest Web Safe
#CCCC33
Inverse Color
#313BD1
Complementary Color
#2E38CE
Closest Pantone®
Pantone 611 C
Closest RAL
RAL 1012 [Lemon yellow]

#CEC42E Grayscale Equivalents

Average
#959595
Lightness (Desaturation)
#7E7E7E
Weighted (BT601)
#B6B6B6
Luma (BT709)
#BBBBBB

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #CEC42E.

Contrast Ratio: 1.82:1
AA Fail AAA Fail

Black Text on #CEC42E

Sample preview of readable typography on top of #CEC42E.

Contrast Ratio: 11.56:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #CEC42E

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

Background Preview
background-color: #CEC42E;
Typography Color Preview
color: #CEC42E;
Border & Shadow Preview
border: 2px solid #CEC42E;
CSS Custom Properties & Gradient
:root {
  --color-primary: #CEC42E;
  --color-primary-rgb: 206, 196, 46;
  --color-complementary: #2E38CE;
}
.btn-accent {
  background-color: #CEC42E;
  color: #000000;
}

Hex #CEC42E Color Palettes

Complementary Palette

The complementary color of #CEC42E is #2E38CE. 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 #CEC42E pairs with #CE742E and #88CE2E, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #CEC42E pairs with #742ECE and #2E88CE, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #CEC42E uses #C42ECE and #2ECEC4, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CEC42E combines #2ECEC4, #2E38CE and #CE2E38 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CEC42E pairs with #2ECE74, #2E38CE and #CE2E88 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CEC42E

Tints

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

Tones

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

Shades

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

Hex #CEC42E in Programming & CSS Frameworks

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

HTML / CSS #CEC42E
Tailwind CSS bg-[#CEC42E] text-[#CEC42E]
Java (AWT) new Color(206,196,46);
Python Color("#CEC42E")
.NET (C#) Color.FromArgb(255, 206,196,46);
Swift / iOS UIColor(red: 0.81, green: 0.77, blue: 0.18, alpha: 1)
Kotlin / Android Color.rgb(206, 196, 46)