#C2A842 Color Information

Hex color code: #C2A842

The hex color #C2A842 is a balanced yellow with RGB values of (194, 168, 66) and HSL of (48°, 51%, 51%). It is frequently seen in web interfaces.

Try:
Color NamePeru
HEX
#C2A842
RGB
194, 168, 66
HSL
48°, 51%, 51%
CMYK
0%, 13%, 66%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C2A842; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

194, 168, 66

Red: 194 / Green: 168 / Blue: 66

HSL

48°, 51%, 51%

Hue: 48° / Saturation: 51% / Lightness: 51%

CMYK

0%, 13%, 66%, 24%

Cyan: 0% / Magenta: 13% / Yellow: 66% / Key: 24%

What color is #C2A842?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C2A842 to RGB:

rgb(194, 168, 66)HEX to RGB Converter →

HEX to HSL

Convert #C2A842 to HSL:

hsl(48, 51%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #C2A842 to CMYK:

cmyk(0%, 13%, 66%, 24%)Color Converter →

Color Meaning and Usage

A neutral yellow tone, #C2A842 has RGB (194, 168, 66) and HSL (48°, 51%, 51%). Known for evoking optimism and creativity, this orange-yellow hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C2A842 is #425CC2, creating high-contrast pairings. For softer combinations, try analogous colors like #C26942.

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

Contrast with #C2A842

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C2A842?

#C2A842 is a neutral yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #C2A842?

#C2A842 in RGB is (194, 168, 66) - 194 red, 168 green, and 66 blue.

How to use #C2A842 in CSS?

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

What colors go well with #C2A842?

#425CC2 (complementary), #C26942 (analogous), and #8B782D (lighter shade) work well with #C2A842.