#C5C987 Color Information

Hex color code: #C5C987

A pastel yellow shade, #C5C987 appears as (197, 201, 135) in RGB and (64°, 38%, 66%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameTan
HEX
#C5C987
RGB
197, 201, 135
HSL
64°, 38%, 66%
CMYK
2%, 0%, 33%, 21%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C5C987; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

197, 201, 135

Red: 197 / Green: 201 / Blue: 135

HSL

64°, 38%, 66%

Hue: 64° / Saturation: 38% / Lightness: 66%

CMYK

2%, 0%, 33%, 21%

Cyan: 2% / Magenta: 0% / Yellow: 33% / Key: 21%

What color is #C5C987?

#C5C987 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C5C987 to RGB:

rgb(197, 201, 135)HEX to RGB Converter →

HEX to HSL

Convert #C5C987 to HSL:

hsl(64, 38%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #C5C987 to CMYK:

cmyk(2%, 0%, 33%, 21%)Color Converter →

Color Meaning and Usage

A gentle yellow tone, #C5C987 has RGB (197, 201, 135) and HSL (64°, 38%, 66%). Known for evoking nature and harmony, this green hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C5C987 is #8C87C9, creating high-contrast pairings. For softer combinations, try analogous colors like #C9AD87.

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

Contrast with #C5C987

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C5C987?

#C5C987 is a gentle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #C5C987?

#C5C987 in RGB is (197, 201, 135) - 197 red, 201 green, and 135 blue.

How to use #C5C987 in CSS?

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

What colors go well with #C5C987?

#8C87C9 (complementary), #C9AD87 (analogous), and #ABB253 (lighter shade) work well with #C5C987.