#CCBA7B Color Information

Hex color code: #CCBA7B

A pastel yellow shade, #CCBA7B appears as (204, 186, 123) in RGB and (47°, 44%, 64%) in HSL. It is commonly used in modern UI design.

Try:
Color NameTan
HEX
#CCBA7B
RGB
204, 186, 123
HSL
47°, 44%, 64%
CMYK
0%, 9%, 40%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #CCBA7B; 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 #CCBA7B; background-color: #CCBA7B15; }

Alert / Toast

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

Link / Accent

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

a { color: #CCBA7B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 186, 123

Red: 204 / Green: 186 / Blue: 123

HSL

47°, 44%, 64%

Hue: 47° / Saturation: 44% / Lightness: 64%

CMYK

0%, 9%, 40%, 20%

Cyan: 0% / Magenta: 9% / Yellow: 40% / Key: 20%

What color is #CCBA7B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CCBA7B to RGB:

rgb(204, 186, 123)HEX to RGB Converter →

HEX to HSL

Convert #CCBA7B to HSL:

hsl(47, 44%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #CCBA7B to CMYK:

cmyk(0%, 9%, 40%, 20%)Color Converter →

Color Meaning and Usage

A soft yellow tone, #CCBA7B has RGB (204, 186, 123) and HSL (47°, 44%, 64%). Known for evoking optimism and creativity, this orange-yellow hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CCBA7B is #7B8CCC, creating high-contrast pairings. For softer combinations, try analogous colors like #CC927B.

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

Contrast with #CCBA7B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CCBA7B?

#CCBA7B is a soft yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #CCBA7B?

#CCBA7B in RGB is (204, 186, 123) - 204 red, 186 green, and 123 blue.

How to use #CCBA7B in CSS?

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

What colors go well with #CCBA7B?

#7B8CCC (complementary), #CC927B (analogous), and #B49C46 (lighter shade) work well with #CCBA7B.