Maroon Colors  ·  Color Library

Palettes / Colors / #ECBF02

#ECBF02 — Vivid Yellow

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

Color name

Closest CSS keyword: gold (#FFD700) — not an exact match. CSS gold gives you #FFD700, a different color; use #ECBF02 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.

#ECBF02 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 #0231ED; it also sits naturally between #ED4902 and #A7ED02. In the palettes below you can see it working alongside real color combinations from our collection.

#ECBF02 · RGB 236, 191, 2

Download PNG swatch SVG

Color values

HEX#ECBF02
RGB236, 191, 2
HSL48°, 98%, 47%
HSV48°, 99%, 93%
CMYK0%, 19%, 99%, 7%
XYZ53.23, 55.10, 7.89
Yxy55.10, 0.4580, 0.4741
CIE-Lab79.10, 2.24, 80.59
Hunter Lab74.23, 2.11, 43.22

RGB & CMYK percentages

Red 93% · Green 75% · Blue 1%

Cyan 0% · Magenta 19% · Yellow 99% · Key 7%

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

Previews

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

CSS code for #ECBF02

.text { color: #ECBF02; }
.background { background-color: #ECBF02; }
.border { border: 3px solid #ECBF02; }
.text-rgb { color: rgb(236, 191, 2); }
.text-hsl { color: hsl(48, 98%, 47%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #ECBF02; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(236, 191, 2, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #ECBF02; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(236, 191, 2, 0.8); }

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

Shades of #ECBF02

#D9AE02#C09A02#AC8A02#977902#836901#6A5501#564501#423501#282000#141000

Tints of #ECBF02

#FDCD0D#FDD226#FDD73F#FDDC58#FEE272#FEE686#FEEB9F#FEF0B8#FFF6D2#FFFBEB

Tones of #ECBF02

#DDB413#CCAA24#BBA035#AA9646#998C56#898267

Color harmonies

Complementary — #0231ED:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.75:1 Fails
Against black text12.02:1 AAA

Best text color on #ECBF02: #000000.

Semi-transparent (opacity) text on #ECBF02

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 #ECBF02: ·

How #ECBF02 looks with color blindness

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

Protanopia · #D9D830Deuteranopia · #DBDF3BTritanopia · #EA545C

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:

Tailwind yellow 500 · #EAB308Material Amber 500 · #FFC107Bootstrap warning · #FFC107

Palettes with a similar color

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

Palette 25671e
#25671E · #48A111 · #F2B50B · #F7F0F0
Palette Ffbf00
#FFBF00 · #FFF78D · #467235 · #283F24
Palette 808836
#808836 · #FFBF00 · #FF9A00 · #D10363
Palette C40c0c
#C40C0C · #FF6500 · #FF8A08 · #FFC100
Palette F7fd04
#F7FD04 · #F9B208 · #F98404 · #FC5404
Palette Ffd400
#FFD400 · #FFC300 · #FF8C00 · #FF5F00

Similar colors

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

#F2B50B#FFBF00#FFC100#F9B208#FFC300#FFC400#FFC107#FFB900#DBBF0D#FFC600#FFBA08#FFC700

Browse neighbouring colors

← #ECBF01  ·  #ECBF03 →

Frequently asked questions

What color is #ECBF02?

#ECBF02 is Vivid Yellow, a yellow color (RGB 236, 191, 2). Its closest standard named color is Gold.

What is the RGB and HSL of #ECBF02?

#ECBF02 is RGB 236, 191, 2 — HSL 48°, 98%, 47% — CMYK 0%, 19%, 99%, 7%.

What colors go with #ECBF02?

Its complement is #0231ED; analogous partners are #ED4902 and #A7ED02. It also appears in 6+ palettes in our collection.

Can I use #ECBF02 for text?

Black text on #ECBF02 has a contrast ratio of 12.02:1 (passes WCAG AA); white text gives 1.75:1.