Maroon Colors  ·  Color Library

Palettes / Colors / #CAAF2B

#CAAF2B — Yellow

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

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

#CAAF2B · RGB 202, 175, 43

Download PNG swatch SVG

Color values

HEX#CAAF2B
RGB202, 175, 43
HSL50°, 65%, 48%
HSV50°, 79%, 79%
CMYK0%, 13%, 79%, 21%
XYZ40.12, 43.39, 8.55
Yxy43.39, 0.4358, 0.4713
CIE-Lab71.82, -3.45, 65.78
Hunter Lab65.87, -3.08, 36.17

RGB & CMYK percentages

Red 79% · Green 69% · Blue 17%

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

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

Previews

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

CSS code for #CAAF2B

.text { color: #CAAF2B; }
.background { background-color: #CAAF2B; }
.border { border: 3px solid #CAAF2B; }
.text-rgb { color: rgb(202, 175, 43); }
.text-hsl { color: hsl(50, 65%, 48%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CAAF2B; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(202, 175, 43, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CAAF2B; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(202, 175, 43, 0.8); }

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

Shades of #CAAF2B

#B9A127#A48F23#93801F#7E6E1B#6D5F17#5D5014#483E0F#37300C#221D07#110F04

Tints of #CAAF2B

#D5BB39#DAC24E#DDC85F#E2CF74#E6D789#EADE9E#EFE5B3#F3EBC4#F7F2D9#FBF9EE

Tones of #CAAF2B

#BFA836#B3A042#A8994D#9D9158#928A63#85826F

Color harmonies

Complementary — #2B45CA:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.17:1 Fails
Against black text9.68:1 AAA

Best text color on #CAAF2B: #000000.

Semi-transparent (opacity) text on #CAAF2B

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

How #CAAF2B looks with color blindness

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

Protanopia · #BEBE4BDeuteranopia · #C0C253Tritanopia · #C9646A

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

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

Similar colors

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

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

Browse neighbouring colors

← #CAAF2A  ·  #CAAF2C →

Frequently asked questions

What color is #CAAF2B?

#CAAF2B is Yellow, a yellow color (RGB 202, 175, 43). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #CAAF2B?

#CAAF2B is RGB 202, 175, 43 — HSL 50°, 65%, 48% — CMYK 0%, 13%, 79%, 21%.

What colors go with #CAAF2B?

Its complement is #2B45CA; analogous partners are #CA602B and #95CA2B. It also appears in 6+ palettes in our collection.

Can I use #CAAF2B for text?

Black text on #CAAF2B has a contrast ratio of 9.68:1 (passes WCAG AA); white text gives 2.17:1.