Maroon Colors  ·  Color Library

Palettes / Colors / #CCBF04

#CCBF04 — Vivid Yellow

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

Color name

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

#CCBF04 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 #0412CD; it also sits naturally between #CD5B04 and #76CD04. In the palettes below you can see it working alongside real color combinations from our collection.

#CCBF04 · RGB 204, 191, 4

Download PNG swatch SVG

Color values

HEX#CCBF04
RGB204, 191, 4
HSL56°, 96%, 41%
HSV56°, 98%, 80%
CMYK0%, 6%, 98%, 20%
XYZ43.55, 50.11, 7.49
Yxy50.11, 0.4306, 0.4954
CIE-Lab76.14, -11.66, 76.90
Hunter Lab70.79, -10.43, 40.94

RGB & CMYK percentages

Red 80% · Green 75% · Blue 2%

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

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

Previews

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

CSS code for #CCBF04

.text { color: #CCBF04; }
.background { background-color: #CCBF04; }
.border { border: 3px solid #CCBF04; }
.text-rgb { color: rgb(204, 191, 4); }
.text-hsl { color: hsl(56, 96%, 41%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CCBF04; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(204, 191, 4, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CCBF04; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(204, 191, 4, 0.8); }

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

Shades of #CCBF04

#B9AD04#AA9F03#968C03#827903#736B02#5F5902#4B4602#373301#282501#141300

Tints of #CCBF04

#EBDC05#FAEA0F#FBED2D#FBEF46#FCF264#FCF47D#FDF69B#FDF9B4#FEFBD2#FFFDEB

Tones of #CCBF04

#BEB313#B1A720#A29A2F#938E3E#85814C#77755A

Color harmonies

Complementary — #0412CD:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.91:1 Fails
Against black text11.02:1 AAA

Best text color on #CCBF04: #000000.

Semi-transparent (opacity) text on #CCBF04

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

How #CCBF04 looks with color blindness

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

Protanopia · #C6C631Deuteranopia · #C7C83CTritanopia · #CB555D

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

Palette 8e1d41
#8E1D41 · #DBBF0D · #FFCD19 · #FFEFB4
Smoky Ruby Bloom
#CBC019 · #C1EE6C · #86E866 · #44DF5C
Radiant Drift
#9F112B · #B35422 · #CDB519 · #588313
Smoky Terrace
#C72E07 · #D7B013 · #F3DC66 · #EBE5AE
Modern Ruby Marble
#C3C61D · #23DCDF · #CA1DC6 · #F3F1CE
Dreamy Petal
#1A2EAF · #7468E8 · #CCB51E · #EFECB4

Similar colors

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

#DBBF0D#CBC019#CDB519#D7B013#C3C61D#CCB51E#CAB31E#D4D713#C3C71F#E1C817#D8C81F#BFA815

Browse neighbouring colors

← #CCBF03  ·  #CCBF05 →

Frequently asked questions

What color is #CCBF04?

#CCBF04 is Vivid Yellow, a yellow color (RGB 204, 191, 4). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #CCBF04?

#CCBF04 is RGB 204, 191, 4 — HSL 56°, 96%, 41% — CMYK 0%, 6%, 98%, 20%.

What colors go with #CCBF04?

Its complement is #0412CD; analogous partners are #CD5B04 and #76CD04. It also appears in 6+ palettes in our collection.

Can I use #CCBF04 for text?

Black text on #CCBF04 has a contrast ratio of 11.02:1 (passes WCAG AA); white text gives 1.91:1.