#51570F Color Information

Hex color code: #51570F

The hex color #51570F is a deep yellow with RGB values of (81, 87, 15) and HSL of (65°, 71%, 20%). It is commonly used in modern UI design.

Try:
Color NameDark Olive Green
HEX
#51570F
RGB
81, 87, 15
HSL
65°, 71%, 20%
CMYK
7%, 0%, 83%, 66%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #51570F; 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 #51570F; background-color: #51570F15; }

Alert / Toast

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

Link / Accent

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

a { color: #51570F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #51570F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 87, 15

Red: 81 / Green: 87 / Blue: 15

HSL

65°, 71%, 20%

Hue: 65° / Saturation: 71% / Lightness: 20%

CMYK

7%, 0%, 83%, 66%

Cyan: 7% / Magenta: 0% / Yellow: 83% / Key: 66%

What color is #51570F?

#51570F is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #51570F to RGB:

rgb(81, 87, 15)HEX to RGB Converter →

HEX to HSL

Convert #51570F to HSL:

hsl(65, 71%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #51570F to CMYK:

cmyk(7%, 0%, 83%, 66%)Color Converter →

Color Meaning and Usage

#51570F is a intense yellow color with RGB values of 81, 87, 15 and HSL of 65°, 71%, 20%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #51570F is #150F57, creating high-contrast pairings. For softer combinations, try analogous colors like #57390F.

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

Contrast with #51570F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #51570F?

#51570F is a intense yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #51570F?

#51570F in RGB is (81, 87, 15) - 81 red, 87 green, and 15 blue.

How to use #51570F in CSS?

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

What colors go well with #51570F?

#150F57 (complementary), #57390F (analogous), and #141604 (lighter shade) work well with #51570F.