#C0D798 Color Information

Hex color code: #C0D798

#C0D798 is a gentle green color. In RGB it is (192, 215, 152), and in HSL it is (82°, 44%, 72%). It is frequently seen in web interfaces.

Try:
Color NameTan
HEX
#C0D798
RGB
192, 215, 152
HSL
82°, 44%, 72%
CMYK
11%, 0%, 29%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C0D798; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

192, 215, 152

Red: 192 / Green: 215 / Blue: 152

HSL

82°, 44%, 72%

Hue: 82° / Saturation: 44% / Lightness: 72%

CMYK

11%, 0%, 29%, 16%

Cyan: 11% / Magenta: 0% / Yellow: 29% / Key: 16%

What color is #C0D798?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C0D798 to RGB:

rgb(192, 215, 152)HEX to RGB Converter →

HEX to HSL

Convert #C0D798 to HSL:

hsl(82, 44%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #C0D798 to CMYK:

cmyk(11%, 0%, 29%, 16%)Color Converter →

Color Meaning and Usage

A soft green tone, #C0D798 has RGB (192, 215, 152) and HSL (82°, 44%, 72%). Known for evoking nature and harmony, this green hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C0D798 is #AF98D7, creating high-contrast pairings. For softer combinations, try analogous colors like #D7CF98.

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

Contrast with #C0D798

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C0D798?

#C0D798 is a soft green color - a green hue that evokes nature and harmony.

What is the RGB value of #C0D798?

#C0D798 in RGB is (192, 215, 152) - 192 red, 215 green, and 152 blue.

How to use #C0D798 in CSS?

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

What colors go well with #C0D798?

#AF98D7 (complementary), #D7CF98 (analogous), and #9EC261 (lighter shade) work well with #C0D798.