#C7B98E Color Information

Hex color code: #C7B98E

#C7B98E is a gentle yellow color. In RGB it is (199, 185, 142), and in HSL it is (45°, 34%, 67%). It is often used for branding and logos.

Try:
Color NameTan
HEX
#C7B98E
RGB
199, 185, 142
HSL
45°, 34%, 67%
CMYK
0%, 7%, 29%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C7B98E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

199, 185, 142

Red: 199 / Green: 185 / Blue: 142

HSL

45°, 34%, 67%

Hue: 45° / Saturation: 34% / Lightness: 67%

CMYK

0%, 7%, 29%, 22%

Cyan: 0% / Magenta: 7% / Yellow: 29% / Key: 22%

What color is #C7B98E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C7B98E to RGB:

rgb(199, 185, 142)HEX to RGB Converter →

HEX to HSL

Convert #C7B98E to HSL:

hsl(45, 34%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #C7B98E to CMYK:

cmyk(0%, 7%, 29%, 22%)Color Converter →

Color Meaning and Usage

#C7B98E is a subtle yellow color with RGB values of 199, 185, 142 and HSL of 45°, 34%, 67%. This orange-yellow hue evokes optimism and creativity, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C7B98E is #8E9DC7, creating high-contrast pairings. For softer combinations, try analogous colors like #C79D8E.

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

Contrast with #C7B98E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C7B98E?

#C7B98E is a subtle yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #C7B98E?

#C7B98E in RGB is (199, 185, 142) - 199 red, 185 green, and 142 blue.

How to use #C7B98E in CSS?

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

What colors go well with #C7B98E?

#8E9DC7 (complementary), #C79D8E (analogous), and #AE995B (lighter shade) work well with #C7B98E.