Maroon Colors  ·  Color Library

Palettes / Colors / #CCBF02

#CCBF02 — Vivid Yellow

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

#CCBF02 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 #020FCA; it also sits naturally between #CA5902 and #73CA02. In the palettes below you can see it working alongside real color combinations from our collection.

#CCBF02 · RGB 204, 191, 2

Download PNG swatch SVG

Color values

HEX#CCBF02
RGB204, 191, 2
HSL56°, 98%, 40%
HSV56°, 99%, 80%
CMYK0%, 6%, 99%, 20%
XYZ43.54, 50.10, 7.43
Yxy50.10, 0.4308, 0.4957
CIE-Lab76.13, -11.68, 77.11
Hunter Lab70.78, -10.45, 40.99

RGB & CMYK percentages

Red 80% · Green 75% · Blue 1%

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

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

Previews

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

CSS code for #CCBF02

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

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

Shades of #CCBF02

#B6AA02#A79C02#928901#837B01#6F6801#5B5501#4C4701#383401#282600#141300

Tints of #CCBF02

#E8D902#FDEC08#FDEE26#FDF03F#FDF35D#FEF57C#FEF795#FEF9B3#FEFBCD#FFFDEB

Tones of #CCBF02

#BCB010#ADA41F#9F982D#918B3B#837F49#747258

Color harmonies

Complementary — #020FCA:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #CCBF02: #000000.

Semi-transparent (opacity) text on #CCBF02

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

How #CCBF02 looks with color blindness

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

Protanopia · #C6C630Deuteranopia · #C7C83BTritanopia · #CB545C

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 #CCBF02 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#D4D713#CAB31E#E1C817#C3C71F#BFA815#D8C81F

Browse neighbouring colors

← #CCBF01  ·  #CCBF03 →

Frequently asked questions

What color is #CCBF02?

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

What is the RGB and HSL of #CCBF02?

#CCBF02 is RGB 204, 191, 2 — HSL 56°, 98%, 40% — CMYK 0%, 6%, 99%, 20%.

What colors go with #CCBF02?

Its complement is #020FCA; analogous partners are #CA5902 and #73CA02. It also appears in 6+ palettes in our collection.

Can I use #CCBF02 for text?

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