Maroon Colors  ·  Color Library

Palettes / Colors / #FECC2A

#FECC2A — Vivid Yellow

#FECC2A 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 #FECC2A 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.

#FECC2A 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 #2A5BFE; it also sits naturally between #FE622A and #C5FE2A. In the palettes below you can see it working alongside real color combinations from our collection.

#FECC2A · RGB 254, 204, 42

Download PNG swatch SVG

Color values

HEX#FECC2A
RGB254, 204, 42
HSL46°, 99%, 58%
HSV46°, 83%, 100%
CMYK0%, 20%, 83%, 0%
XYZ62.88, 64.42, 11.31
Yxy64.42, 0.4536, 0.4648
CIE-Lab84.19, 3.85, 78.72
Hunter Lab80.26, 3.73, 45.13

RGB & CMYK percentages

Red 100% · Green 80% · Blue 16%

Cyan 0% · Magenta 20% · Yellow 83% · Key 0%

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

Previews

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

CSS code for #FECC2A

.text { color: #FECC2A; }
.background { background-color: #FECC2A; }
.border { border: 3px solid #FECC2A; }
.text-rgb { color: rgb(254, 204, 42); }
.text-hsl { color: hsl(46, 99%, 58%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #FECC2A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(254, 204, 42, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #FECC2A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(254, 204, 42, 0.8); }

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

Shades of #FECC2A

#FEC610#EFB701#D5A401#B78C01#9D7901#846501#654E01#4C3A00#2E2300#141000

Tints of #FECC2A

#FED13E#FED652#FEDA62#FEDF76#FEE38A#FFE89F#FFEDB3#FFF1C2#FFF5D6#FFFAEB

Tones of #FECC2A

#EFC439#E0BC48#D1B457#C1AC67#B2A476#A39C85

Color harmonies

Complementary — #2A5BFE:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.51:1 Fails
Against black text13.88:1 AAA

Best text color on #FECC2A: #000000.

Semi-transparent (opacity) text on #FECC2A

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

How #FECC2A looks with color blindness

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

Protanopia · #E8E851Deuteranopia · #EBEF5BTritanopia · #FB7077

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 #FECC2A rather than the exact color:

Palette 347928
#347928 · #C0EBA6 · #FFFBE6 · #FCCD2A
Palette 006e7f
#006E7F · #F8CB2E · #EE5007 · #B22727
Modern Ruby Twilight
#091621 · #FBC42D · #F84C64 · #F99A3F
Modern Ruby Ember
#190825 · #2E99FA · #FDCB36 · #48FDAF
Golden Ruby Tempest
#260C2F · #F86C25 · #76FE41 · #F9C224
Palette E87f24
#E87F24 · #FFC81E · #FEFDDF · #73A5CA

Similar colors

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

#FCCD2A#F8CB2E#FBC42D#FDCB36#F9C224#FFC81E#FBC02D#F9CA1E#FCC737#F3C623#FCC61D#FFC436

Browse neighbouring colors

← #FECC29  ·  #FECC2B →

Frequently asked questions

What color is #FECC2A?

#FECC2A is Vivid Yellow, a yellow color (RGB 254, 204, 42). Its closest standard named color is Gold.

What is the RGB and HSL of #FECC2A?

#FECC2A is RGB 254, 204, 42 — HSL 46°, 99%, 58% — CMYK 0%, 20%, 83%, 0%.

What colors go with #FECC2A?

Its complement is #2A5BFE; analogous partners are #FE622A and #C5FE2A. It also appears in 6+ palettes in our collection.

Can I use #FECC2A for text?

Black text on #FECC2A has a contrast ratio of 13.88:1 (passes WCAG AA); white text gives 1.51:1.