Maroon Colors  ·  Color Library

Palettes / Colors / #FFC012

#FFC012 — Vivid Yellow

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

#FFC012 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 #1453FF; it also sits naturally between #FF4B14 and #C8FF14. In the palettes below you can see it working alongside real color combinations from our collection.

#FFC012 · RGB 255, 192, 18

Download PNG swatch SVG

Color values

HEX#FFC012
RGB255, 192, 18
HSL44°, 100%, 54%
HSV44°, 93%, 100%
CMYK0%, 25%, 93%, 0%
XYZ60.20, 59.00, 8.79
Yxy59.00, 0.4703, 0.4610
CIE-Lab81.29, 10.02, 81.31
Hunter Lab76.81, 9.72, 44.45

RGB & CMYK percentages

Red 100% · Green 75% · Blue 7%

Cyan 0% · Magenta 25% · Yellow 93% · Key 0%

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

Previews

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

CSS code for #FFC012

.text { color: #FFC012; }
.background { background-color: #FFC012; }
.border { border: 3px solid #FFC012; }
.text-rgb { color: rgb(255, 192, 18); }
.text-hsl { color: hsl(44, 100%, 54%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #FFC012; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(255, 192, 18, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #FFC012; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(255, 192, 18, 0.8); }

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

Shades of #FFC012

#FAB700#E0A500#C79200#AD7F00#946C00#7A5A00#614700#473400#2E2200#140F00

Tints of #FFC012

#FFC629#FFCB3D#FFD257#FFD86B#FFDD80#FFE294#FFE8A8#FFEFC2#FFF4D6#FFFAEB

Tones of #FFC012

#EFB925#DDB136#CDA947#BCA157#AC9A68#9A9179

Color harmonies

Complementary — #1453FF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.64:1 Fails
Against black text12.80:1 AAA

Best text color on #FFC012: #000000.

Semi-transparent (opacity) text on #FFC012

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

How #FFC012 looks with color blindness

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

Protanopia · #E4E33CDeuteranopia · #E7EC46Tritanopia · #FC5D65

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 Amber 500 · #FFC107Bootstrap warning · #FFC107Tailwind yellow 500 · #EAB308

Palettes with a similar color

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

Palette Fde7b3
#FDE7B3 · #FFC50F · #63A361 · #5B532C
Palette 347433
#347433 · #FFC107 · #FF6F3C · #B22222
Sunset Boulevard
#6A040F · #DC2F02 · #F48C06 · #FFBA08
Palette 3338a0
#3338A0 · #C59560 · #FCC61D · #F7F7F7
Palette E87f24
#E87F24 · #FFC81E · #FEFDDF · #73A5CA
Amber Ruby Aurora
#0E1623 · #32FA6B · #F9B314 · #69F844

Similar colors

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

#FFC50F#FFC107#FFBA08#FCC61D#FFC81E#F9B314#FFCD19#F8C11F#FECD1A#FEB21A#F9CA1E#F4CE14

Browse neighbouring colors

← #FFC011  ·  #FFC013 →

Frequently asked questions

What color is #FFC012?

#FFC012 is Vivid Yellow, a yellow color (RGB 255, 192, 18). Its closest standard named color is Gold.

What is the RGB and HSL of #FFC012?

#FFC012 is RGB 255, 192, 18 — HSL 44°, 100%, 54% — CMYK 0%, 25%, 93%, 0%.

What colors go with #FFC012?

Its complement is #1453FF; analogous partners are #FF4B14 and #C8FF14. It also appears in 6+ palettes in our collection.

Can I use #FFC012 for text?

Black text on #FFC012 has a contrast ratio of 12.80:1 (passes WCAG AA); white text gives 1.64:1.