#2F6B0B Color Information

Hex color code: #2F6B0B

#2F6B0B is a dramatic green color. In RGB it is (47, 107, 11), and in HSL it is (98°, 81%, 23%). It is typically applied in digital products.

Try:
Color NameDark Olive Green
HEX
#2F6B0B
RGB
47, 107, 11
HSL
98°, 81%, 23%
CMYK
56%, 0%, 90%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #2F6B0B; 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 #2F6B0B; background-color: #2F6B0B15; }

Alert / Toast

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

Link / Accent

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

a { color: #2F6B0B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2F6B0B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 107, 11

Red: 47 / Green: 107 / Blue: 11

HSL

98°, 81%, 23%

Hue: 98° / Saturation: 81% / Lightness: 23%

CMYK

56%, 0%, 90%, 58%

Cyan: 56% / Magenta: 0% / Yellow: 90% / Key: 58%

What color is #2F6B0B?

#2F6B0B is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F6B0B to RGB:

rgb(47, 107, 11)HEX to RGB Converter →

HEX to HSL

Convert #2F6B0B to HSL:

hsl(98, 81%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #2F6B0B to CMYK:

cmyk(56%, 0%, 90%, 58%)Color Converter →

Color Meaning and Usage

A dramatic green tone, #2F6B0B has RGB (47, 107, 11) and HSL (98°, 81%, 23%). Known for evoking energy and excitement, this highly saturated hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F6B0B is #470B6A, creating high-contrast pairings. For softer combinations, try analogous colors like #5D6A0B.

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

Contrast with #2F6B0B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F6B0B?

#2F6B0B is a dramatic green color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #2F6B0B?

#2F6B0B in RGB is (47, 107, 11) - 47 red, 107 green, and 11 blue.

How to use #2F6B0B in CSS?

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

What colors go well with #2F6B0B?

#470B6A (complementary), #5D6A0B (analogous), and #102504 (lighter shade) work well with #2F6B0B.