Maroon Colors  ·  Color Library

Palettes / Colors / #CFCC02

#CFCC02 — Vivid Yellow

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

#CFCC02 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 #0206CF; it also sits naturally between #CF6502 and #6CCF02. In the palettes below you can see it working alongside real color combinations from our collection.

#CFCC02 · RGB 207, 204, 2

Download PNG swatch SVG

Color values

HEX#CFCC02
RGB207, 204, 2
HSL59°, 98%, 41%
HSV59°, 99%, 81%
CMYK0%, 1%, 99%, 19%
XYZ47.34, 56.46, 8.46
Yxy56.46, 0.4217, 0.5029
CIE-Lab79.87, -16.92, 79.96
Hunter Lab75.14, -15.26, 43.44

RGB & CMYK percentages

Red 81% · Green 80% · Blue 1%

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

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

Previews

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

CSS code for #CFCC02

.text { color: #CFCC02; }
.background { background-color: #CFCC02; }
.border { border: 3px solid #CFCC02; }
.text-rgb { color: rgb(207, 204, 2); }
.text-hsl { color: hsl(59, 98%, 41%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CFCC02; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(207, 204, 2, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CFCC02; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(207, 204, 2, 0.8); }

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

Shades of #CFCC02

#BBB802#ACA902#979502#838101#747201#605E01#4C4A01#383701#282800#141400

Tints of #CFCC02

#EDE902#FDF90D#FDF92B#FDFA44#FDFB62#FEFC7C#FEFC9A#FEFDB3#FFFED2#FFFEEB

Tones of #CFCC02

#C0BD11#B2AF1F#A3A12E#94933D#86854B#77775A

Color harmonies

Complementary — #0206CF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.71:1 Fails
Against black text12.29:1 AAA

Best text color on #CFCC02: #000000.

Semi-transparent (opacity) text on #CFCC02

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

How #CFCC02 looks with color blindness

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

Protanopia · #CECE33Deuteranopia · #CECE3FTritanopia · #CF5962

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

Palette 8e1d41
#8E1D41 · #DBBF0D · #FFCD19 · #FFEFB4
Scarlet Marble
#D4D713 · #B2E963 · #6EE750 · #10C133
Smoky Ruby Bloom
#CBC019 · #C1EE6C · #86E866 · #44DF5C
Palette 063b00
#063B00 · #266210 · #90B800 · #E1E100
Smoky Monsoon
#152BC9 · #3534EA · #E1C817 · #F4F4C0
Cosmic Ruby Summit
#9C2125 · #663118 · #916A1C · #D0D41F

Similar colors

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

#DBBF0D#D4D713#CBC019#E1E100#E1C817#D0D41F#C3C61D#BBDC12#BEDB16#D8C81F#CEE415#C9D020

Browse neighbouring colors

← #CFCC01  ·  #CFCC03 →

Frequently asked questions

What color is #CFCC02?

#CFCC02 is Vivid Yellow, a yellow color (RGB 207, 204, 2). Its closest standard named color is Gold.

What is the RGB and HSL of #CFCC02?

#CFCC02 is RGB 207, 204, 2 — HSL 59°, 98%, 41% — CMYK 0%, 1%, 99%, 19%.

What colors go with #CFCC02?

Its complement is #0206CF; analogous partners are #CF6502 and #6CCF02. It also appears in 6+ palettes in our collection.

Can I use #CFCC02 for text?

Black text on #CFCC02 has a contrast ratio of 12.29:1 (passes WCAG AA); white text gives 1.71:1.