#C7D52A Color Information

Hex color code: #C7D52A

A balanced yellow shade, #C7D52A appears as (199, 213, 42) in RGB and (65°, 67%, 50%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameYellow Green
HEX
#C7D52A
RGB
199, 213, 42
HSL
65°, 67%, 50%
CMYK
7%, 0%, 80%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C7D52A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

199, 213, 42

Red: 199 / Green: 213 / Blue: 42

HSL

65°, 67%, 50%

Hue: 65° / Saturation: 67% / Lightness: 50%

CMYK

7%, 0%, 80%, 16%

Cyan: 7% / Magenta: 0% / Yellow: 80% / Key: 16%

What color is #C7D52A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C7D52A to RGB:

rgb(199, 213, 42)HEX to RGB Converter →

HEX to HSL

Convert #C7D52A to HSL:

hsl(65, 67%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #C7D52A to CMYK:

cmyk(7%, 0%, 80%, 16%)Color Converter →

Color Meaning and Usage

A neutral yellow tone, #C7D52A has RGB (199, 213, 42) and HSL (65°, 67%, 50%). Known for evoking nature and harmony, this green hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C7D52A is #382AD5, creating high-contrast pairings. For softer combinations, try analogous colors like #D58E2A.

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

Contrast with #C7D52A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C7D52A?

#C7D52A is a neutral yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #C7D52A?

#C7D52A in RGB is (199, 213, 42) - 199 red, 213 green, and 42 blue.

How to use #C7D52A in CSS?

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

What colors go well with #C7D52A?

#382AD5 (complementary), #D58E2A (analogous), and #8B951D (lighter shade) work well with #C7D52A.