#CAC71C Color Information

Hex color code: #CAC71C

The hex color #CAC71C is a bold yellow with RGB values of (202, 199, 28) and HSL of (59°, 76%, 45%). It is often used for branding and logos.

Try:
Color NameGoldenrod
HEX
#CAC71C
RGB
202, 199, 28
HSL
59°, 76%, 45%
CMYK
0%, 1%, 86%, 21%

Shades

CSS Usage
color: #CAC71C;
background-color: #CAC71C;
border-color: #CAC71C;
box-shadow: 0 0 10px #CAC71C;
border: 2px solid #CAC71C;
Tailwind Usage
bg-[#CAC71C]
text-[#CAC71C]
border-[#CAC71C]
shadow-[0_0_10px_CAC71C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #CAC71C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #CAC71C; color: #000000; }

Badge

New Feature
.badge { background-color: #CAC71C; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #CAC71C; background-color: #CAC71C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #CAC71C20; border-left: 4px solid #CAC71C; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #CAC71C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #CAC71C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

202, 199, 28

Red: 202 / Green: 199 / Blue: 28

HSL

59°, 76%, 45%

Hue: 59° / Saturation: 76% / Lightness: 45%

CMYK

0%, 1%, 86%, 21%

Cyan: 0% / Magenta: 1% / Yellow: 86% / Key: 21%

What color is #CAC71C?

#CAC71C is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CAC71C to RGB:

rgb(202, 199, 28)HEX to RGB Converter →

HEX to HSL

Convert #CAC71C to HSL:

hsl(59, 76%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #CAC71C to CMYK:

cmyk(0%, 1%, 86%, 21%)Color Converter →

Color Meaning and Usage

A bold yellow tone, #CAC71C has RGB (202, 199, 28) and HSL (59°, 76%, 45%). Known for evoking optimism and creativity, this orange-yellow hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CAC71C is #1C1ECA, creating high-contrast pairings. For softer combinations, try analogous colors like #CA701C.

Use #CAC71C in CSS: color: #CAC71C or background-color: #CAC71C. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #CAC71C

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 11.70:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CAC71C?

#CAC71C is a bold yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #CAC71C?

#CAC71C in RGB is (202, 199, 28) - 202 red, 199 green, and 28 blue.

How to use #CAC71C in CSS?

Use #CAC71C directly in your CSS properties like color or background-color.

What colors go well with #CAC71C?

#1C1ECA (complementary), #CA701C (analogous), and #878512 (lighter shade) work well with #CAC71C.