#C2C796 Color Information

Hex color code: #C2C796

The hex color #C2C796 is a gentle yellow with RGB values of (194, 199, 150) and HSL of (66°, 30%, 68%). It is frequently seen in web interfaces.

Try:
Color NameTan
HEX
#C2C796
RGB
194, 199, 150
HSL
66°, 30%, 68%
CMYK
3%, 0%, 25%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C2C796; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

194, 199, 150

Red: 194 / Green: 199 / Blue: 150

HSL

66°, 30%, 68%

Hue: 66° / Saturation: 30% / Lightness: 68%

CMYK

3%, 0%, 25%, 22%

Cyan: 3% / Magenta: 0% / Yellow: 25% / Key: 22%

What color is #C2C796?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C2C796 to RGB:

rgb(194, 199, 150)HEX to RGB Converter →

HEX to HSL

Convert #C2C796 to HSL:

hsl(66, 30%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #C2C796 to CMYK:

cmyk(3%, 0%, 25%, 22%)Color Converter →

Color Meaning and Usage

#C2C796 is a subtle yellow color with RGB values of 194, 199, 150 and HSL of 66°, 30%, 68%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C2C796 is #9A95C6, creating high-contrast pairings. For softer combinations, try analogous colors like #C6B295.

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

Contrast with #C2C796

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C2C796?

#C2C796 is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #C2C796?

#C2C796 in RGB is (194, 199, 150) - 194 red, 199 green, and 150 blue.

How to use #C2C796 in CSS?

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

What colors go well with #C2C796?

#9A95C6 (complementary), #C6B295 (analogous), and #A4AB63 (lighter shade) work well with #C2C796.