#515138 Color Information

Hex color code: #515138

A balanced yellow shade, #515138 appears as (81, 81, 56) in RGB and (60°, 18%, 27%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Olive Green
HEX
#515138
RGB
81, 81, 56
HSL
60°, 18%, 27%
CMYK
0%, 0%, 31%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #515138; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #515138; color: #FFFFFF; }

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 #515138; background-color: #51513815; }

Alert / Toast

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

Link / Accent

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

a { color: #515138; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 81, 56

Red: 81 / Green: 81 / Blue: 56

HSL

60°, 18%, 27%

Hue: 60° / Saturation: 18% / Lightness: 27%

CMYK

0%, 0%, 31%, 68%

Cyan: 0% / Magenta: 0% / Yellow: 31% / Key: 68%

What color is #515138?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #515138 to RGB:

rgb(81, 81, 56)HEX to RGB Converter →

HEX to HSL

Convert #515138 to HSL:

hsl(60, 18%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #515138 to CMYK:

cmyk(0%, 0%, 31%, 68%)Color Converter →

Color Meaning and Usage

A muted yellow tone, #515138 has RGB (81, 81, 56) and HSL (60°, 18%, 27%). Known for evoking nature and harmony, this green hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #515138 is #383851, creating high-contrast pairings. For softer combinations, try analogous colors like #514538.

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

Contrast with #515138

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

Contrast Ratio: 2.58:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #515138?

#515138 is a muted yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #515138?

#515138 in RGB is (81, 81, 56) - 81 red, 81 green, and 56 blue.

How to use #515138 in CSS?

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

What colors go well with #515138?

#383851 (complementary), #514538 (analogous), and #242419 (lighter shade) work well with #515138.