#6B870D Color Information

Hex color code: #6B870D

A bold yellow shade, #6B870D appears as (107, 135, 13) in RGB and (74°, 82%, 29%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameOlive Drab
HEX
#6B870D
RGB
107, 135, 13
HSL
74°, 82%, 29%
CMYK
21%, 0%, 90%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #6B870D; 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 #6B870D; background-color: #6B870D15; }

Alert / Toast

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

Link / Accent

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

a { color: #6B870D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6B870D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

107, 135, 13

Red: 107 / Green: 135 / Blue: 13

HSL

74°, 82%, 29%

Hue: 74° / Saturation: 82% / Lightness: 29%

CMYK

21%, 0%, 90%, 47%

Cyan: 21% / Magenta: 0% / Yellow: 90% / Key: 47%

What color is #6B870D?

#6B870D is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6B870D to RGB:

rgb(107, 135, 13)HEX to RGB Converter →

HEX to HSL

Convert #6B870D to HSL:

hsl(74, 82%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #6B870D to CMYK:

cmyk(21%, 0%, 90%, 47%)Color Converter →

Color Meaning and Usage

#6B870D is a eye-catching yellow color with RGB values of 107, 135, 13 and HSL of 74°, 82%, 29%. This highly saturated hue evokes energy and excitement, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6B870D is #2A0D87, creating high-contrast pairings. For softer combinations, try analogous colors like #87660D.

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

Contrast with #6B870D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6B870D?

#6B870D is a eye-catching yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #6B870D?

#6B870D in RGB is (107, 135, 13) - 107 red, 135 green, and 13 blue.

How to use #6B870D in CSS?

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

What colors go well with #6B870D?

#2A0D87 (complementary), #87660D (analogous), and #334106 (lighter shade) work well with #6B870D.