#51510B Color Information

Hex color code: #51510B

The hex color #51510B is a dramatic yellow with RGB values of (81, 81, 11) and HSL of (60°, 76%, 18%). It is typically applied in digital products.

Try:
Color NameDark Olive Green
HEX
#51510B
RGB
81, 81, 11
HSL
60°, 76%, 18%
CMYK
0%, 0%, 86%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #51510B; 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 #51510B; background-color: #51510B15; }

Alert / Toast

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

Link / Accent

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

a { color: #51510B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #51510B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 81, 11

Red: 81 / Green: 81 / Blue: 11

HSL

60°, 76%, 18%

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

CMYK

0%, 0%, 86%, 68%

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

What color is #51510B?

#51510B is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #51510B to RGB:

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

HEX to HSL

Convert #51510B to HSL:

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

HEX to CMYK

Convert #51510B to CMYK:

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

Color Meaning and Usage

#51510B is a intense yellow color with RGB values of 81, 81, 11 and HSL of 60°, 76%, 18%. This very dark shade evokes sophistication and elegance, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #51510B is #0B0B51, creating high-contrast pairings. For softer combinations, try analogous colors like #512E0B.

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

Contrast with #51510B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #51510B?

#51510B is a intense yellow color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #51510B?

#51510B in RGB is (81, 81, 11) - 81 red, 81 green, and 11 blue.

How to use #51510B in CSS?

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

What colors go well with #51510B?

#0B0B51 (complementary), #512E0B (analogous), and #0D0D02 (lighter shade) work well with #51510B.