What is hex #ECFF2B color?

 
The hex code #ECFF2B is closest to the named color Daffodil (#FFFF31).
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 93% red, 100% green and 17% blue, resulting in rgb(236, 255, 43) and hsl(65, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (7%, 0%, 83%, 0%).
In the HSV/HSB scale, #ECFF2B features a hue of 65°, 83% saturation, and 100% brightness.

Hex #ECFF2B Color Codes & Conversions

Closest Named Color
Daffodil (#FFFF31)
Hex Code #ECFF2B
Hex8 (RGBA Hex) #ECFF2BFF
RGB (CSS) rgb(236, 255, 43)
RGBA (CSS) rgba(236, 255, 43, 1)
HSL (CSS) hsl(65, 100%, 58%)
HSLA (CSS) hsla(65, 100%, 58%, 1)
HSV / HSB (65°, 83%, 100%)
CMYK Values (7%, 0%, 83%, 0%)
OKLCH (Modern CSS) oklch(95.4% 0.208 115.2)
CIE-LAB (D65) 95.80, -28.67, 87.58
CIE XYZ 70.79, 89.53, 15.84
Decimal / Binary 15531819
11101100 11111111 00101011

Closest Standards & Equivalents

Closest Web Safe
#FFFF33 [Electric Yellow]
Inverse Color
#1300D4
Complementary Color
#3E2BFF
Closest Pantone®
Pantone 394 C
Closest RAL
RAL 1016 [Sulfur yellow]

#ECFF2B Grayscale Equivalents

Average
#B2B2B2
Lightness (Desaturation)
#959595
Weighted (BT601)
#E1E1E1
Luma (BT709)
#ECECEC

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #ECFF2B.

Contrast Ratio: 1.11:1
AA Fail AAA Fail

Black Text on #ECFF2B

Sample preview of readable typography on top of #ECFF2B.

Contrast Ratio: 18.91:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #ECFF2B

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

Background Preview
background-color: #ECFF2B;
Typography Color Preview
color: #ECFF2B;
Border & Shadow Preview
border: 2px solid #ECFF2B;
CSS Custom Properties & Gradient
:root {
  --color-primary: #ECFF2B;
  --color-primary-rgb: 236, 255, 43;
  --color-complementary: #3E2BFF;
}
.btn-accent {
  background-color: #ECFF2B;
  color: #000000;
}

Hex #ECFF2B Color Palettes

Complementary Palette

The complementary color of #ECFF2B is #3E2BFF. 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 #ECFF2B pairs with #FFA82B and #82FF2B, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #ECFF2B pairs with #A82BFF and #2B82FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #ECFF2B uses #FF2BEC and #2BECFF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #ECFF2B combines #2BECFF, #3E2BFF and #FF3E2B around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #ECFF2B pairs with #2BFFA8, #3E2BFF and #FF2B82 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #ECFF2B

Tints

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

Tones

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

Shades

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

Hex #ECFF2B in Programming & CSS Frameworks

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

HTML / CSS #ECFF2B
Tailwind CSS bg-[#ECFF2B] text-[#ECFF2B]
Java (AWT) new Color(236,255,43);
Python Color("#ECFF2B")
.NET (C#) Color.FromArgb(255, 236,255,43);
Swift / iOS UIColor(red: 0.93, green: 1, blue: 0.17, alpha: 1)
Kotlin / Android Color.rgb(236, 255, 43)