Maroon Colors  ·  Color Library

Palettes / Colors / #CCBC28

#CCBC28 — Yellow

#CCBC28 is a yellow color we call 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 #CCBC28 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.

#CCBC28 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 #2839CC; it also sits naturally between #CC6A28 and #8BCC28. In the palettes below you can see it working alongside real color combinations from our collection.

#CCBC28 · RGB 204, 188, 40

Download PNG swatch SVG

Color values

HEX#CCBC28
RGB204, 188, 40
HSL54°, 67%, 48%
HSV54°, 80%, 80%
CMYK0%, 8%, 80%, 20%
XYZ43.27, 48.96, 9.18
Yxy48.96, 0.4267, 0.4828
CIE-Lab75.42, -9.44, 69.94
Hunter Lab69.97, -8.46, 38.83

RGB & CMYK percentages

Red 80% · Green 74% · Blue 16%

Cyan 0% · Magenta 8% · Yellow 80% · Key 20%

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

Previews

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

CSS code for #CCBC28

.text { color: #CCBC28; }
.background { background-color: #CCBC28; }
.border { border: 3px solid #CCBC28; }
.text-rgb { color: rgb(204, 188, 40); }
.text-hsl { color: hsl(54, 67%, 48%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CCBC28; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(204, 188, 40, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CCBC28; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(204, 188, 40, 0.8); }

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

Shades of #CCBC28

#BBAC25#A69921#95891D#807619#6F6616#5E5613#48430E#37330B#221F07#111003

Tints of #CCBC28

#D7C737#DCCD4C#DFD25D#E3D872#E7DE88#ECE49D#F0EAB2#F3EEC3#F7F4D9#FCFAEE

Tones of #CCBC28

#C0B235#B5A940#A9A04C#9E9757#928D63#87846E

Color harmonies

Complementary — #2839CC:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.95:1 Fails
Against black text10.79:1 AAA

Best text color on #CCBC28: #000000.

Semi-transparent (opacity) text on #CCBC28

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

How #CCBC28 looks with color blindness

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

Protanopia · #C5C54CDeuteranopia · #C6C754Tritanopia · #CB686E

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 Lime 500 · #CDDC39Tailwind yellow 500 · #EAB308Tailwind amber 500 · #F59E0B

Palettes with a similar color

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

Wild Garden
#C5BE23 · #93DB36 · #37E127 · #28DC6E
Dusty Ruby Horizon
#95289F · #CABC33 · #59D5CA · #EED5EF
Dreamy Horizon
#DC67D8 · #CD5B81 · #A25433 · #C2B82C
Crimson Twilight
#841A8E · #D3C526 · #54E0D4 · #D7A9E6
Electric Ruby Aurora
#D8BD2A · #95AC2A · #549318 · #63D44E
Dreamy Petal
#1A2EAF · #7468E8 · #CCB51E · #EFECB4

Similar colors

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

#C5BE23#CABC33#C2B82C#D3C526#D8BD2A#CCB51E#C5B225#CAB31E#C2C52E#C1C230#D5C828#CBC019

Browse neighbouring colors

← #CCBC27  ·  #CCBC29 →

Frequently asked questions

What color is #CCBC28?

#CCBC28 is Yellow, a yellow color (RGB 204, 188, 40). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #CCBC28?

#CCBC28 is RGB 204, 188, 40 — HSL 54°, 67%, 48% — CMYK 0%, 8%, 80%, 20%.

What colors go with #CCBC28?

Its complement is #2839CC; analogous partners are #CC6A28 and #8BCC28. It also appears in 6+ palettes in our collection.

Can I use #CCBC28 for text?

Black text on #CCBC28 has a contrast ratio of 10.79:1 (passes WCAG AA); white text gives 1.95:1.