#798D0C Color Information

Hex color code: #798D0C

A eye-catching yellow shade, #798D0C appears as (121, 141, 12) in RGB and (69°, 84%, 30%) in HSL. It is widely used in graphic design.

Try:
Color NameOlive
HEX
#798D0C
RGB
121, 141, 12
HSL
69°, 84%, 30%
CMYK
14%, 0%, 91%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #798D0C; 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 #798D0C; background-color: #798D0C15; }

Alert / Toast

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

Link / Accent

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

a { color: #798D0C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #798D0C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 141, 12

Red: 121 / Green: 141 / Blue: 12

HSL

69°, 84%, 30%

Hue: 69° / Saturation: 84% / Lightness: 30%

CMYK

14%, 0%, 91%, 45%

Cyan: 14% / Magenta: 0% / Yellow: 91% / Key: 45%

What color is #798D0C?

#798D0C is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #798D0C to RGB:

rgb(121, 141, 12)HEX to RGB Converter →

HEX to HSL

Convert #798D0C to HSL:

hsl(69, 84%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #798D0C to CMYK:

cmyk(14%, 0%, 91%, 45%)Color Converter →

Color Meaning and Usage

A vivid yellow tone, #798D0C has RGB (121, 141, 12) and HSL (69°, 84%, 30%). Known for evoking energy and excitement, this highly saturated hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #798D0C is #200C8D, creating high-contrast pairings. For softer combinations, try analogous colors like #8D600C.

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

Contrast with #798D0C

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

Contrast Ratio: 5.63:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #798D0C?

#798D0C is a vivid yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #798D0C?

#798D0C in RGB is (121, 141, 12) - 121 red, 141 green, and 12 blue.

How to use #798D0C in CSS?

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

What colors go well with #798D0C?

#200C8D (complementary), #8D600C (analogous), and #3D4606 (lighter shade) work well with #798D0C.