#D6871F Color Information

Hex color code: #D6871F

The hex color #D6871F is a vivid orange with RGB values of (214, 135, 31) and HSL of (34°, 75%, 48%). It is commonly used in modern UI design.

Try:
Color NameChocolate
HEX
#D6871F
RGB
214, 135, 31
HSL
34°, 75%, 48%
CMYK
0%, 37%, 86%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D6871F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

214, 135, 31

Red: 214 / Green: 135 / Blue: 31

HSL

34°, 75%, 48%

Hue: 34° / Saturation: 75% / Lightness: 48%

CMYK

0%, 37%, 86%, 16%

Cyan: 0% / Magenta: 37% / Yellow: 86% / Key: 16%

What color is #D6871F?

#D6871F is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D6871F to RGB:

rgb(214, 135, 31)HEX to RGB Converter →

HEX to HSL

Convert #D6871F to HSL:

hsl(34, 75%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #D6871F to CMYK:

cmyk(0%, 37%, 86%, 16%)Color Converter →

Color Meaning and Usage

A eye-catching orange tone, #D6871F has RGB (214, 135, 31) and HSL (34°, 75%, 48%). Known for evoking optimism and creativity, this orange-yellow hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D6871F is #1F6ED6, creating high-contrast pairings. For softer combinations, try analogous colors like #D62B1F.

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

Contrast with #D6871F

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

Contrast Ratio: 7.34:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D6871F?

#D6871F is a eye-catching orange color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #D6871F?

#D6871F in RGB is (214, 135, 31) - 214 red, 135 green, and 31 blue.

How to use #D6871F in CSS?

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

What colors go well with #D6871F?

#1F6ED6 (complementary), #D62B1F (analogous), and #935D15 (lighter shade) work well with #D6871F.