Maroon Colors  ·  Color Library

Palettes / Colors / #CAAA40

#CAAA40 — Yellow

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

#CAAA40 is a warm yellow color associated with optimism, attention and cheer. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.

Its strongest partner is its complement #3F5FCA; it also sits naturally between #CA643F and #A5CA3F. In the palettes below you can see it working alongside real color combinations from our collection.

#CAAA40 · RGB 202, 170, 64

Download PNG swatch SVG

Color values

HEX#CAAA40
RGB202, 170, 64
HSL46°, 57%, 52%
HSV46°, 68%, 79%
CMYK0%, 16%, 68%, 21%
XYZ39.66, 41.68, 10.80
Yxy41.68, 0.4304, 0.4523
CIE-Lab70.65, 0.14, 56.80
Hunter Lab64.56, 0.13, 32.97

RGB & CMYK percentages

Red 79% · Green 67% · Blue 25%

Cyan 0% · Magenta 16% · Yellow 68% · Key 21%

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

Previews

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

CSS code for #CAAA40

.text { color: #CAAA40; }
.background { background-color: #CAAA40; }
.border { border: 3px solid #CAAA40; }
.text-rgb { color: rgb(202, 170, 64); }
.text-hsl { color: hsl(46, 57%, 52%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CAAA40; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(202, 170, 64, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CAAA40; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(202, 170, 64, 0.8); }

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

Shades of #CAAA40

#BC9C34#A88C2E#987E2A#846E24#705D1F#5C4C19#483C14#382F0F#241E0A#100D04

Tints of #CAAA40

#CFB14F#D4BA63#D9C173#DECA87#E2D197#E7D8A7#ECE1BB#F1E8CB#F6F1DF#FBF8EF

Tones of #CAAA40

#C1A549#B79F52#AD9A5C#A29467#988F71#8E8A7B

Color harmonies

Complementary — #3F5FCA:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.25:1 Fails
Against black text9.34:1 AAA

Best text color on #CAAA40: #000000.

Semi-transparent (opacity) text on #CAAA40

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

How #CAAA40 looks with color blindness

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

Protanopia · #BCBC5ADeuteranopia · #BEC060Tritanopia · #C86E72

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

Palettes with a similar color

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

Modern Dusk
#EBDEB7 · #D7B85B · #CAA63A · #A78725
Scarlet Harbor
#C9A243 · #8BAC2E · #3CA624 · #36DB71
Serene Twilight
#8C412D · #CB9E45 · #ADBF2B · #93D363
Misty Ruby Aurora
#C85A9B · #C34255 · #B2512A · #C39F41
Palette 00809d
#00809D · #FCF8DD · #FFD700 · #D3AF37
Crimson Ruby Mirage
#F7E8C5 · #D9AA40 · #D39D22 · #45340C

Similar colors

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

#CAA63A#C9A243#CB9E45#C39F41#D3AF37#D9AA40#D6B146#BDB443#CCAA51#C7A92F#C49A45#B9A63C

Browse neighbouring colors

← #CAAA3F  ·  #CAAA41 →

Frequently asked questions

What color is #CAAA40?

#CAAA40 is Yellow, a yellow color (RGB 202, 170, 64). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #CAAA40?

#CAAA40 is RGB 202, 170, 64 — HSL 46°, 57%, 52% — CMYK 0%, 16%, 68%, 21%.

What colors go with #CAAA40?

Its complement is #3F5FCA; analogous partners are #CA643F and #A5CA3F. It also appears in 6+ palettes in our collection.

Can I use #CAAA40 for text?

Black text on #CAAA40 has a contrast ratio of 9.34:1 (passes WCAG AA); white text gives 2.25:1.