Maroon Colors  ·  Color Library

Palettes / Colors / #ECFA04

#ECFA04 — Vivid Yellow

#ECFA04 is a yellow color we call Vivid Yellow, closest to the named color Yellow (#FFFF00). It belongs to the yellow family.

Color name

Closest CSS keyword: yellow (#FFFF00) — not an exact match. CSS yellow gives you #FFFF00, a different color; use #ECFA04 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#ECFA04 is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #1004FB; it also sits naturally between #FB8C04 and #73FB04. In the palettes below you can see it working alongside real color combinations from our collection.

#ECFA04 · RGB 236, 250, 4

Download PNG swatch SVG

Color values

HEX#ECFA04
RGB236, 250, 4
HSL63°, 97%, 50%
HSV63°, 98%, 98%
CMYK6%, 0%, 98%, 2%
XYZ68.80, 86.21, 13.13
Yxy86.21, 0.4092, 0.5127
CIE-Lab94.40, -26.94, 91.54
Hunter Lab92.85, -25.67, 53.54

RGB & CMYK percentages

Red 93% · Green 98% · Blue 2%

Cyan 6% · Magenta 0% · Yellow 98% · Key 2%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #ECFA04 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #ECFA04 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #ECFA04

.text { color: #ECFA04; }
.background { background-color: #ECFA04; }
.border { border: 3px solid #ECFA04; }
.text-rgb { color: rgb(236, 250, 4); }
.text-hsl { color: hsl(63, 97%, 50%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #ECFA04; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(236, 250, 4, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #ECFA04; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(236, 250, 4, 0.8); }

HTML: <p style="color:#ECFA04">Text here</p> · <div style="background-color:#ECFA04">Div content here</div>

Shades of #ECFA04

#D7E203#C4CE03#ACB503#99A102#818802#696F02#565A01#3E4101#2B2D01#131400

Tints of #ECFA04

#F0FC1D#F2FC31#F3FC4A#F5FD5E#F6FD77#F8FD90#F9FEA5#FBFEBE#FCFED2#FEFFEB

Tones of #ECFA04

#DFE916#CFD728#BFC639#B0B54A#A0A35C#90916E

Color harmonies

Complementary — #1004FB:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.15:1 Fails
Against black text18.24:1 AAA

Best text color on #ECFA04: #000000.

Semi-transparent (opacity) text on #ECFA04

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #ECFA04: ·

How #ECFA04 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #F2F240Deuteranopia · #F1F04ETritanopia · #ED6F79

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Yellow 500 · #FFEB3BMaterial Amber 500 · #FFC107Bootstrap warning · #FFC107

Palettes with a similar color

These palettes use a close neighbour of #ECFA04 rather than the exact color:

Palette 000000
#000000 · #F72798 · #F57D1F · #EBF400
Palette F7fd04
#F7FD04 · #F9B208 · #F98404 · #FC5404
Palette Fff100
#FFF100 · #006BFF · #08C2FF · #BCF2F6
Frozen Ruby Solace
#0D3820 · #FCF211 · #2B28F8 · #FB3D25
Palette 4379f2
#4379F2 · #FFEB00 · #6EC207 · #117554
Palette 000957
#000957 · #344CB7 · #577BC1 · #FFEB00

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#EBF400#F7FD04#FFF100#FCF211#FFEB00#FCE700#F9E400#D4F000#FFE700#E1E100#CFF800#FFE100

Browse neighbouring colors

← #ECFA03  ·  #ECFA05 →

Frequently asked questions

What color is #ECFA04?

#ECFA04 is Vivid Yellow, a yellow color (RGB 236, 250, 4). Its closest standard named color is Yellow.

What is the RGB and HSL of #ECFA04?

#ECFA04 is RGB 236, 250, 4 — HSL 63°, 97%, 50% — CMYK 6%, 0%, 98%, 2%.

What colors go with #ECFA04?

Its complement is #1004FB; analogous partners are #FB8C04 and #73FB04. It also appears in 6+ palettes in our collection.

Can I use #ECFA04 for text?

Black text on #ECFA04 has a contrast ratio of 18.24:1 (passes WCAG AA); white text gives 1.15:1.