#798255 Color Information

Hex color code: #798255

#798255 is a subtle yellow color. In RGB it is (121, 130, 85), and in HSL it is (72°, 21%, 42%). It is popular in mobile app design.

Try:
Color NameGray
HEX
#798255
RGB
121, 130, 85
HSL
72°, 21%, 42%
CMYK
7%, 0%, 35%, 49%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #798255; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 130, 85

Red: 121 / Green: 130 / Blue: 85

HSL

72°, 21%, 42%

Hue: 72° / Saturation: 21% / Lightness: 42%

CMYK

7%, 0%, 35%, 49%

Cyan: 7% / Magenta: 0% / Yellow: 35% / Key: 49%

What color is #798255?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #798255 to RGB:

rgb(121, 130, 85)HEX to RGB Converter →

HEX to HSL

Convert #798255 to HSL:

hsl(72, 21%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #798255 to CMYK:

cmyk(7%, 0%, 35%, 49%)Color Converter →

Color Meaning and Usage

#798255 is a pastel yellow color with RGB values of 121, 130, 85 and HSL of 72°, 21%, 42%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #798255 is #5E5582, creating high-contrast pairings. For softer combinations, try analogous colors like #827455.

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

Contrast with #798255

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #798255?

#798255 is a pastel yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #798255?

#798255 in RGB is (121, 130, 85) - 121 red, 130 green, and 85 blue.

How to use #798255 in CSS?

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

What colors go well with #798255?

#5E5582 (complementary), #827455 (analogous), and #4E5336 (lighter shade) work well with #798255.