#C5BA1B Color Information

Hex color code: #C5BA1B

#C5BA1B is a vivid yellow color. In RGB it is (197, 186, 27), and in HSL it is (56°, 76%, 44%). It is commonly used in modern UI design.

Try:
Color NameGoldenrod
HEX
#C5BA1B
RGB
197, 186, 27
HSL
56°, 76%, 44%
CMYK
0%, 6%, 86%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C5BA1B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

197, 186, 27

Red: 197 / Green: 186 / Blue: 27

HSL

56°, 76%, 44%

Hue: 56° / Saturation: 76% / Lightness: 44%

CMYK

0%, 6%, 86%, 23%

Cyan: 0% / Magenta: 6% / Yellow: 86% / Key: 23%

What color is #C5BA1B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C5BA1B to RGB:

rgb(197, 186, 27)HEX to RGB Converter →

HEX to HSL

Convert #C5BA1B to HSL:

hsl(56, 76%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #C5BA1B to CMYK:

cmyk(0%, 6%, 86%, 23%)Color Converter →

Color Meaning and Usage

A bold yellow tone, #C5BA1B has RGB (197, 186, 27) and HSL (56°, 76%, 44%). Known for evoking optimism and creativity, this orange-yellow hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C5BA1B is #1B26C5, creating high-contrast pairings. For softer combinations, try analogous colors like #C5651B.

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

Contrast with #C5BA1B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C5BA1B?

#C5BA1B is a bold yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #C5BA1B?

#C5BA1B in RGB is (197, 186, 27) - 197 red, 186 green, and 27 blue.

How to use #C5BA1B in CSS?

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

What colors go well with #C5BA1B?

#1B26C5 (complementary), #C5651B (analogous), and #827B12 (lighter shade) work well with #C5BA1B.