Maroon Colors  ·  Color Library

Palettes / Colors / #CBB02A

#CBB02A — Yellow

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

#CBB02A 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 #2A45CB; it also sits naturally between #CB5F2A and #95CB2A. In the palettes below you can see it working alongside real color combinations from our collection.

#CBB02A · RGB 203, 176, 42

Download PNG swatch SVG

Color values

HEX#CBB02A
RGB203, 176, 42
HSL50°, 66%, 48%
HSV50°, 79%, 80%
CMYK0%, 13%, 79%, 20%
XYZ40.57, 43.91, 8.53
Yxy43.91, 0.4362, 0.4721
CIE-Lab72.17, -3.58, 66.45
Hunter Lab66.27, -3.19, 36.50

RGB & CMYK percentages

Red 80% · Green 69% · Blue 16%

Cyan 0% · Magenta 13% · Yellow 79% · Key 20%

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

Previews

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

CSS code for #CBB02A

.text { color: #CBB02A; }
.background { background-color: #CBB02A; }
.border { border: 3px solid #CBB02A; }
.text-rgb { color: rgb(203, 176, 42); }
.text-hsl { color: hsl(50, 66%, 48%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CBB02A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(203, 176, 42, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CBB02A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(203, 176, 42, 0.8); }

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

Shades of #CBB02A

#BAA226#A58F22#94811E#7F6E1A#6E5F17#5D5113#483E0F#37300B#221D07#110F03

Tints of #CBB02A

#D6BC38#DBC34D#DEC95E#E2D073#E7D788#EBDE9E#EFE5B3#F3EBC4#F7F2D9#FCF9EE

Tones of #CBB02A

#C0A935#B4A141#A9994C#9D9158#928A63#85826F

Color harmonies

Complementary — #2A45CB:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.15:1 Fails
Against black text9.78:1 AAA

Best text color on #CBB02A: #000000.

Semi-transparent (opacity) text on #CBB02A

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

How #CBB02A looks with color blindness

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

Protanopia · #BFBF4ADeuteranopia · #C1C352Tritanopia · #CA646A

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 Lime 500 · #CDDC39Tailwind yellow 600 · #CA8A04

Palettes with a similar color

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

Misty Ruby Summit
#733F20 · #CAAA25 · #BBDD47 · #67D42E
Radiant Ruby Cinder
#E2D365 · #C5B225 · #9D8C16 · #6E6416
Tranquil Voyage
#2CB89D · #A72FC4 · #C7A92F · #D5F0EA
Dreamy Horizon
#DC67D8 · #CD5B81 · #A25433 · #C2B82C
Cosmic Ruby Meadow
#B56314 · #CAB31E · #BFE34A · #85EF42
Silent Ruby Voyage
#EAD68F · #CEA821 · #7C6413 · #3B310C

Similar colors

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

#CAAA25#C5B225#C7A92F#C2B82C#CAB31E#CEA821#CCB51E#CABC33#C3A32B#D3AF37#BBAD27#C5BE23

Browse neighbouring colors

← #CBB029  ·  #CBB02B →

Frequently asked questions

What color is #CBB02A?

#CBB02A is Yellow, a yellow color (RGB 203, 176, 42). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #CBB02A?

#CBB02A is RGB 203, 176, 42 — HSL 50°, 66%, 48% — CMYK 0%, 13%, 79%, 20%.

What colors go with #CBB02A?

Its complement is #2A45CB; analogous partners are #CB5F2A and #95CB2A. It also appears in 6+ palettes in our collection.

Can I use #CBB02A for text?

Black text on #CBB02A has a contrast ratio of 9.78:1 (passes WCAG AA); white text gives 2.15:1.